Skip to content

Commit

Permalink
fix(search): position now changed by default to absolute from relative
Browse files Browse the repository at this point in the history
- this way the homepage menu isn't pushed down thus loosing the menu
  items since it's white text on white bg
  • Loading branch information
ichim-david committed Nov 7, 2022
1 parent 4ba2cd7 commit 51b08fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion theme/themes/eea/extras/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@

/* Search Box */
#search-box {
position: relative;
position: @searchBoxPosition;
z-index: 99999;
overflow: auto;
width: 100%;
Expand Down
1 change: 1 addition & 0 deletions theme/themes/eea/extras/header.variables
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
@megaMenuNestedAccordionContentPadding: @rem-space-4 @rem-space-4;

/* Search box */
@searchBoxPosition: absolute;
@searchBoxBackgroundGradient : linear-gradient(340.97deg, @darkCerulean 9.19%, #009591 77.47%);
@searchBoxWrapperGap : 75px;
@searchBoxFullSearchBackground: rgba(255, 255, 255, 0.1);
Expand Down

0 comments on commit 51b08fc

Please sign in to comment.