mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Fix misaligned menu tabs
Ensure vertical alignment of menu tabs (for example “More” button) with link-only tabs by setting: * `padding-top: 1.25em;` as on `div.vectorTabs span a` * `line-height: 1.125em;` as on `div.vectorTabs ul li` Bug: T171142 Change-Id: Ic4ef86589c6c3d442035f3d768cb9036e1ecc237
This commit is contained in:
parent
c4bab69e96
commit
3f19c24696
|
@ -122,6 +122,7 @@ div.vectorMenu {
|
||||||
float: left;
|
float: left;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
line-height: 1.125em;
|
||||||
}
|
}
|
||||||
|
|
||||||
body.rtl div.vectorMenu {
|
body.rtl div.vectorMenu {
|
||||||
|
@ -147,7 +148,7 @@ div.vectorMenu h3 span {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
padding-left: 0.7em;
|
padding-left: 0.7em;
|
||||||
padding-top: 1.375em;
|
padding-top: 1.25em;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: @menu-main-heading-color;
|
color: @menu-main-heading-color;
|
||||||
|
|
Loading…
Reference in a new issue