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