mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 02:37:05 +00:00
Remove margin top from language button
These items are vertically centered via flexbox already, so this isnt needed. Results in expected visual changes. Results in expected visual changes. Bug: T334881 Change-Id: I05409ec591f9ade179e93262b855bba6bd0e4a12
This commit is contained in:
parent
2775ec31b1
commit
df803b6294
|
@ -8,9 +8,6 @@
|
|||
// This must be limited to vector-page-titlebar as the mw-portlet-lang class is shared with
|
||||
// the language portlet that can display in the sidebar.
|
||||
.vector-page-titlebar .mw-portlet-lang {
|
||||
// FIXME [review whether margin-top is needed] center vertically in heading.
|
||||
// See also: `.vector-page-titlebar > .mw-ui-button` rule in PageTitlebar.less
|
||||
margin-top: 2px;
|
||||
box-sizing: border-box;
|
||||
height: @height-button-lang;
|
||||
flex-shrink: 0;
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
> .mw-ui-button {
|
||||
font-size: @font-size-base;
|
||||
margin-top: 2px;
|
||||
// When labels have multiple words e.g. "Add topic" make sure they do not wrap onto
|
||||
// new line. This can happen when editing pages with long titles. e.g. F36867314
|
||||
white-space: nowrap;
|
||||
|
|
Loading…
Reference in a new issue