Skip to content

Commit e583516

Browse files
committed
Fixed the navbar issue in firefox
1 parent 2a6e5d2 commit e583516

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

assets/scss/_custom.scss

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,23 @@ body.td-404 main .error-details {
242242
.search-item.nav-item {
243243
input, input::placeholder {
244244
color: black;
245+
width: 200px;
246+
box-sizing: border-box;
247+
padding: 8px;
248+
height: 40px;
249+
font-size: 14px;
250+
transition: width 0.3s ease-in-out;
251+
-webkit-appearance: none;
252+
-moz-appearance: none;
253+
appearance: none;
245254
}
246255
}
247256

257+
input[type="search"]{
258+
-moz-box-sizing: border-box;
259+
width: 100%;
260+
}
261+
248262
.flip-nav .search-item {
249263
.td-search-input, .search-bar {
250264
background-color: $medium-grey;

0 commit comments

Comments
 (0)