Skip to content

Commit 7d46bed

Browse files
SenpuDevSenpuDev
andauthored
Fix seach bar overlapping (#2276)
Co-authored-by: SenpuDev <senpuudev@gmail.com>
1 parent e350f81 commit 7d46bed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/themes/website/styles/forms.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
vertical-align: middle;
3333
}
3434

35+
.form-inline input[type=search] {
36+
width: 100%;
37+
max-width: 200px;
38+
}
39+
3540
.form-inline .form-control-plaintext {
3641
display: inline-block;
3742
}
@@ -126,6 +131,9 @@
126131
}
127132

128133
input[type=search] {
134+
white-space: nowrap;
135+
overflow: hidden;
136+
text-overflow: ellipsis;
129137
@extend .icon-svg-magnifier;
130138
background-position: 5px center;
131139
background-size: 1em;

0 commit comments

Comments
 (0)