Remove search bar width transition on small viewport

This commit is contained in:
alistair3149 2020-06-30 14:41:32 -04:00
parent 41197bcea8
commit e3e7ad399a
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -248,7 +248,8 @@
} }
@media ( max-width: @search-bar-width ) { @media ( max-width: @search-bar-width ) {
#searchform:before { #search {
&form:before {
content: ''; content: '';
display: block; display: block;
position: fixed; position: fixed;
@ -259,6 +260,11 @@
background: @base-100; background: @base-100;
opacity: 0.9; opacity: 0.9;
} }
&Input {
transition: none; // Width transition does not play well on mobile
}
}
} }
@media ( prefers-color-scheme: dark ) { @media ( prefers-color-scheme: dark ) {