Skip to content

Commit

Permalink
Search: Update search dropdown position.
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenDufresne committed Apr 17, 2024
1 parent a467dfa commit 99ea70f
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@
// The search results table is appended to the end of the page, and uses a
// generated class name.
body > table[class*="gssb"] {
// The page's offset top (for the fixed header) pulls up the autocomplete
// The page's offset padding pushed down autocomplete
// dropdown. Adding some margin fixes that.
margin-top: var(--wp-global-header-offset, 0);
margin-top: var(--wp--preset--spacing--50);

@media ( min-width: 889px ) {
margin-top: 30px;
}

}

0 comments on commit 99ea70f

Please sign in to comment.