Skip to content

Commit

Permalink
Update search box styling and position
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed May 15, 2022
1 parent bb4f9d7 commit e12e080
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/assets/scss/_search.scss
Expand Up @@ -6,7 +6,7 @@

@include media-breakpoint-up(lg) {
position: absolute;
top: .75rem;
top: .875rem;
left: 50%;
width: 200px;
margin-left: -100px;
Expand Down Expand Up @@ -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);
Expand All @@ -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);
}
Expand Down

0 comments on commit e12e080

Please sign in to comment.