Skip to content

Commit 50d99f0

Browse files
Haroenvbobylito
authored andcommitted
fix(theme): searchbar should have normal size input (#2545)
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
1 parent 0f1bf08 commit 50d99f0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/css/theme/_search-box.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
.ais-search-box {
22
display: inline-block;
33
position: relative;
4-
max-width: 300px;
5-
width: 100%;
64
height: 46px;
75
white-space: nowrap;
8-
box-sizing: border-box;
96
font-size: 14px;
107

118
&--input {
12-
appearence: none;
9+
appearance: none;
10+
font: inherit;
1311
background: $white;
1412
display: inline-block;
1513
border: 1px solid #D4D8E3;

0 commit comments

Comments
 (0)