Skip to content

Commit

Permalink
fix(theme): searchbar should have normal size input (#2545)
Browse files Browse the repository at this point in the history
Usually you want the searchbox to have the same font size (at least) as your body text. Otherwise it'll look awkardly small without other styling.

Also fixed a typo in `appearance`

before|after
---|---

meanwhile deduplicate

width is also already in normal style
  • Loading branch information
Haroenv authored and bobylito committed Nov 7, 2017
1 parent 0f1bf08 commit 50d99f0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/css/theme/_search-box.scss
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
.ais-search-box {
display: inline-block;
position: relative;
max-width: 300px;
width: 100%;
height: 46px;
white-space: nowrap;
box-sizing: border-box;
font-size: 14px;

&--input {
appearence: none;
appearance: none;
font: inherit;
background: $white;
display: inline-block;
border: 1px solid #D4D8E3;
Expand Down

0 comments on commit 50d99f0

Please sign in to comment.