From e12e0806fbf7f7896316a142d732052a72b16aab Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 May 2022 12:39:23 -0700 Subject: [PATCH] Update search box styling and position --- site/assets/scss/_search.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/assets/scss/_search.scss b/site/assets/scss/_search.scss index 9739d7a3a2..49e34e8ee0 100644 --- a/site/assets/scss/_search.scss +++ b/site/assets/scss/_search.scss @@ -6,7 +6,7 @@ @include media-breakpoint-up(lg) { position: absolute; - top: .75rem; + top: .875rem; left: 50%; width: 200px; margin-left: -100px; @@ -39,6 +39,7 @@ --docsearch-muted-color: #{rgba($white, .65)}; width: 100%; + height: 38px; // Match Bootstrap inputs margin: 0; border: 1px solid rgba($white, .4); @include border-radius(.375rem); @@ -60,8 +61,7 @@ .DocSearch-Button-Keys { min-width: 0; - padding-right: .25rem; - padding-left: .25rem; + padding: .125rem .25rem; background: rgba($black, .25); @include border-radius(.25rem); }