Skip to content

Commit

Permalink
Update search documentation
Browse files Browse the repository at this point in the history
- update the search and search with autocomplete docs to highlight the use of the `label_margin_bottom` option on the search component, inside the search with autocomplete, on the GOV.UK homepage
- highlighting this because I nearly overlooked this use when looking to remove this option from the search component
  • Loading branch information
andysellick committed Jan 22, 2025
1 parent fd7ca84 commit 8389ff8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,17 @@ examples:
context:
dark_background: true
homepage:
description: For use on the homepage.
description: For use on the homepage. See the `search with autocomplete` component for reference, which wraps this component.
data:
label_text: "Search"
inline_label: false
on_govuk_blue: true
label_size: "s"
label_margin_bottom: 3
homepage: true
size: "large"
context:
dark_background: true
dark_background: true
change_label_text:
data:
label_text: "Search"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ examples:
on_govuk_blue: true
label_size: "s"
homepage: true
label_margin_bottom: 3
size: "large"
context:
dark_background: true
Expand Down

0 comments on commit 8389ff8

Please sign in to comment.