Correct the height of the language button

In wvui quiet buttons have a minimum height of 32px
Given the importance of vertical alignment, here inside Vector
seems the best place to define this.

Bug: T268241
Change-Id: I95b61a0c239ccfb7fa1b2ddaa6980ad2737e8f26
This commit is contained in:
jdlrobson 2021-03-01 16:39:31 -08:00
parent 8d8e2d85e6
commit ac62386909
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
// avoid sub pixel rendering
line-height: 1.493em;
// reset padding styles in MenuDropdown.less with right padding for arrow.
padding: 0 30px 0 8px;
padding: 4px 30px 4px 8px;
// Prevent select of span text "X languages"
user-select: none;

View File

@ -83,7 +83,7 @@ body {
.mixin-clearfix();
#p-lang-btn {
@height-lang-button: 1.25em;
@height-lang-button: unit( 32 / @font-size-browser, em );
float: right;
.box-sizing( border-box );
height: @height-lang-button;