mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-26 07:15:37 +00:00
Remove search bar width transition on small viewport
This commit is contained in:
parent
41197bcea8
commit
e3e7ad399a
|
@ -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 ) {
|
||||||
|
|
Loading…
Reference in a new issue