Skip to content

Commit

Permalink
Adjust css for campaign pages on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
ddippolito committed Oct 24, 2024
1 parent 999719f commit 9972287
Showing 1 changed file with 0 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,61 +14,4 @@
.custom-banner {
padding: govuk-spacing(4) 0;
}

.search-results-controls {

@include govuk-media-query($from: tablet) {
margin-bottom: govuk-spacing(4);

.autocomplete, .govuk-form-group {
margin-bottom: 20px;
}

.location-search__radius {
.govuk-select[name='radius'] {
width: min-content;
min-width: 0;
}
}

.autocomplete__menu {
@include govuk-media-query($from: desktop) {
position: absolute;
}
}

&__submit {
.govuk-button {
margin-bottom: 0;
}
}

.govuk-hint {
display: none;
}
}

@include govuk-media-query($until: tablet) {
&__submit {
.govuk-button {
margin-bottom: govuk-spacing(3);
}
}
}

.location-search__radius {
margin-top: govuk-spacing(6);
flex-basis: 200px;

@include govuk-media-query($until: tablet) {
.govuk-select[name='radius'] {
width: 100%;
}
}

@include govuk-media-query($from: tablet) {
margin-top: 0;
}
}
}
}

0 comments on commit 9972287

Please sign in to comment.