Skip to content

Commit 794e4b3

Browse files
authored
Merge pull request #47984 from thisisharrsh/navbar_search_box
Fix project logo overlapping with other parts of nav bar
2 parents 49d1a73 + e583516 commit 794e4b3

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
@@ -251,9 +251,23 @@ body.td-404 main .error-details {
251251
.search-item.nav-item {
252252
input, input::placeholder {
253253
color: black;
254+
width: 200px;
255+
box-sizing: border-box;
256+
padding: 8px;
257+
height: 40px;
258+
font-size: 14px;
259+
transition: width 0.3s ease-in-out;
260+
-webkit-appearance: none;
261+
-moz-appearance: none;
262+
appearance: none;
254263
}
255264
}
256265

266+
input[type="search"]{
267+
-moz-box-sizing: border-box;
268+
width: 100%;
269+
}
270+
257271
.flip-nav .search-item {
258272
.td-search-input, .search-bar {
259273
background-color: $medium-grey;

0 commit comments

Comments
 (0)