Skip to content

Commit

Permalink
fix(accessibility): Header Search Box size #359 from eea/refactor-sea…
Browse files Browse the repository at this point in the history
…rch-box
  • Loading branch information
ichim-david authored Jun 19, 2023
2 parents 6c5a7d5 + 679adaa commit 4b4e1ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions theme/themes/eea/extras/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
display: flex;
overflow: auto;
width: 100%;
height: @mobilePopUpHeight;
min-height: @mobilePopUpHeight;
align-items: @searchBoxAlignItems;
background: @searchBoxBackgroundGradient;

Expand Down Expand Up @@ -582,7 +582,7 @@

/* Search box */
#search-box {
height: @tabletPopUpHeight;
min-height: @tabletPopUpHeight;

.wrapper {
margin: @searchBoxTabletPopupMarginTop 0;
Expand Down Expand Up @@ -693,7 +693,7 @@

/* Search box */
#search-box {
height: @computerPopUpHeight;
min-height: @computerPopUpHeight;

.wrapper {
margin: @searchBoxComputerPopupMarginTop 0;
Expand Down
6 changes: 3 additions & 3 deletions theme/themes/eea/extras/header.variables
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@
@searchBoxSuggestionsTextColor: @white;
@searchBoxSuggestionsColumnGap: 2em;
@searchBoxSuggestionsRowGap: 1em;
@searchBoxMobilePopupMarginTop: 0.5em;
@searchBoxTabletPopupMarginTop: 1em;
@searchBoxComputerPopupMarginTop: 1.5em;
@searchBoxMobilePopupMarginTop: @em-space-8;
@searchBoxTabletPopupMarginTop: @em-space-8;
@searchBoxComputerPopupMarginTop: @em-space-8;

/* Custom shadows for dropdowns */
@shadow-topbar-dropdown: 2px 0 2px -5px hsla(@shadow-color, calc(@shadow-strength + 6%));
Expand Down

0 comments on commit 4b4e1ab

Please sign in to comment.