Skip to content

Commit 0b7a14d

Browse files
fix: fix search bar width on medium size windows
1 parent b5676bf commit 0b7a14d

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/app/homepage/header/header.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
<app-social-wrapper></app-social-wrapper>
4747
<div class="menu-wrapper">
4848
<div class="search-wrapper" id="search">
49-
<i class="fa fa-search search-icon"></i>
50-
<input class="search-input" placeholder="Search..." />
49+
<!-- <i class="fa fa-search search-icon"></i>
50+
<input class="search-input" placeholder="Search..." /> -->
5151
</div>
5252
<ul>
5353
<li>

src/app/homepage/header/header.component.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,13 +393,21 @@ header {
393393
border-bottom-color: $red-color;
394394
width: 190px;
395395
}
396+
397+
@media (min-width: 1200px) and (max-width: 1300px) {
398+
width: 190px;
399+
}
396400
}
397401

398402
::ng-deep .DocSearch-Button:hover,
399403
::ng-deep .DocSearch-Button:active
400404
::ng-deep .DocSearch-Button:focus {
401405
border-bottom-color: $red-color;
402406
width: 240px;
407+
408+
@media (min-width: 1200px) and (max-width: 1300px) {
409+
width: 190px;
410+
}
403411
}
404412

405413
.search-input::placeholder {

0 commit comments

Comments
 (0)