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,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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue