mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Merge "Prevent collapsed dropdowns from having height."
This commit is contained in:
commit
15ed1cf0e1
|
@ -17,7 +17,9 @@
|
|||
top: 100%;
|
||||
left: -@border-width-base;
|
||||
opacity: 0;
|
||||
height: 0;
|
||||
visibility: hidden;
|
||||
overflow: hidden;
|
||||
// The menu content should not be narrower than the menu button.
|
||||
min-width: 100%;
|
||||
margin: 0;
|
||||
|
@ -71,6 +73,7 @@
|
|||
&:checked ~ .vector-menu-content {
|
||||
opacity: 1;
|
||||
visibility: visible;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
:not( :checked ) > & {
|
||||
|
|
Loading…
Reference in a new issue