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,16 +248,22 @@
} }
@media ( max-width: @search-bar-width ) { @media ( max-width: @search-bar-width ) {
#searchform:before { #search {
content: ''; &form:before {
display: block; content: '';
position: fixed; display: block;
top: 0; position: fixed;
left: 0; top: 0;
right: 0; left: 0;
bottom: 0; right: 0;
background: @base-100; bottom: 0;
opacity: 0.9; background: @base-100;
opacity: 0.9;
}
&Input {
transition: none; // Width transition does not play well on mobile
}
} }
} }