Restore original more menu padding in legacy Vector

One of the goals with desktop improvements is to not make any
visible changes to the original Vector skin.

In T289163 we wrapped links in a span, and moved the font-size
declaration to the span. The padding of the link is now applying
with font-size 16px.

Bug: T289163
Change-Id: Ifbf6f7a4c5cb6fda6389b33fc9962bdb03dd1f43
This commit is contained in:
jdlrobson 2021-09-29 13:54:53 -07:00 committed by Jdlrobson
parent 67c309e27f
commit 4e8a3186a6
1 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,6 @@
@import '../../common/variables.less';
@import 'mediawiki.mixins.less';
// Extends the common MenuDropdown, but allows it to be opened via hover.
.vector-menu-dropdown:not( .vector-user-menu ) {
@ -12,3 +15,12 @@
transform: scaleY( -1 );
}
}
.vector-menu-dropdown {
li {
a {
// Historic value.
padding: unit( ( 8.125px / @font-size-browser ), em );
}
}
}