mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
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:
parent
8d8e2d85e6
commit
ac62386909
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue