]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update search box styling and position
authorMark Otto <markdotto@gmail.com>
Sun, 15 May 2022 19:39:23 +0000 (12:39 -0700)
committerMark Otto <otto@github.com>
Sun, 15 May 2022 21:22:33 +0000 (14:22 -0700)
site/assets/scss/_search.scss

index 9739d7a3a2eb87135a03b923c3e4e2d5ff686dd0..49e34e8ee0d71ffd94aec966e9641ce5572e2f5f 100644 (file)
@@ -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);
 }