Skip to content

Commit

Permalink
Move search margin bottom from SASS to a component option
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGDS committed Feb 25, 2025
1 parent 12a0de3 commit 7d8f42e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ $large-input-size: 50px;

.gem-c-search {
position: relative;
margin-bottom: 30px;
}

.gem-c-search__label {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
no_border ||= false
size ||= ""
value ||= ""
local_assigns[:margin_bottom] ||= 6

component_helper = GovukPublishingComponents::Presenters::ComponentWrapperHelper.new(local_assigns)
component_helper.add_data_attribute({ module: "gem-toggle-input-class-on-focus" })
Expand Down

0 comments on commit 7d8f42e

Please sign in to comment.