Merge "Prevent dropdown arrow from flipping in modern Vector"

This commit is contained in:
jenkins-bot 2022-08-17 07:59:36 +00:00 committed by Gerrit Code Review
commit 2450fdeb99
2 changed files with 5 additions and 5 deletions

View File

@ -81,11 +81,6 @@
display: block;
}
// flips the chevron so it points up when the dropdown is open.
&:checked + .vector-menu-heading:after {
transform: scaleY( -1 );
}
// Add focus state to menu dropdown buttons (i.e. #p-variants, #p-cactions)
&:focus + .vector-menu-heading {
// Simulate browser focus ring

View File

@ -2,6 +2,11 @@
@import 'mediawiki.mixins.less';
@import '../../common/mixins.less';
// Flips the chevron so it points up when the dropdown is open.
.vector-menu-checkbox:checked + .vector-menu-heading:after {
transform: scaleY( -1 );
}
/**
* Dropdown menus that only appear in the tab bar in legacy Vector.
*/