Skip to content

Commit

Permalink
All content finder: Improve filter panel button whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
csutter committed Oct 8, 2024
1 parent 4d4187d commit 21081b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/assets/stylesheets/components/_filter-panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@import "mixins/chevron";

.app-c-filter-panel {
padding-bottom: govuk-spacing(2);
padding: govuk-spacing(4) 0;
margin-bottom: govuk-spacing(1);
border-bottom: 1px solid $govuk-border-colour;
}
Expand All @@ -11,6 +11,7 @@
background-color: govuk-colour("light-grey");
padding: 0 govuk-spacing(3);
margin-top: govuk-spacing(2);
margin-bottom: govuk-spacing(1);

// GOV.UK Frontend radio and checkboxes are rendered with a transparent background, which makes
// them look wrong on this component's grey background. This is intentional in GOV.UK Frontend and
Expand Down
2 changes: 1 addition & 1 deletion app/views/finders/show_all_content_finder.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
label_text: sanitize("Search <span class='govuk-visually-hidden'>all content on</span> GOV.UK"),
wrap_label_in_a_heading: true,
heading_level: 1,
margin_bottom: 4,
margin_bottom: 0,
} %>
</div>

Expand Down

0 comments on commit 21081b4

Please sign in to comment.