Fix search icon placement

fixes #894
This commit is contained in:
Sodbileg Gansukh 2022-08-16 10:54:04 +08:00
parent 2aaf7441af
commit 20ced95885
3 changed files with 10 additions and 7 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -438,11 +438,14 @@ body:not(.has-cover) .site-header-content:not(.left-aligned) {
} }
@media (max-width: 991px) { @media (max-width: 991px) {
.gh-search { .gh-head-actions .gh-search {
position: fixed; display: none;
top: 16px; }
left: 16px; }
z-index: 10;
@media (min-width: 992px) {
.gh-head-brand .gh-search {
display: none;
} }
} }