Merge "Prevent collapsed dropdowns from having height."

This commit is contained in:
jenkins-bot 2022-08-15 19:31:24 +00:00 committed by Gerrit Code Review
commit 15ed1cf0e1
1 changed files with 3 additions and 0 deletions

View File

@ -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 ) > & {