Better search UI on mobile

This commit is contained in:
alistair3149 2019-12-12 12:44:36 -05:00
parent 4956d6ab48
commit 49132bc2a7

View file

@ -227,4 +227,14 @@ a.suggestion-link:hover {
right: unset;
}
}
}
@media only screen and (max-width: 400px + @icon-box-size + @icon-padding * 2) {
.suggestions-dropdown {
position: fixed;
left: 0;
top: @header-height + 1px;
max-width: 100vw;
height: calc(~"100vh -" @header-height + 1px);
}
}