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:
Jon Robson 2023-05-01 12:42:34 -07:00 committed by Jdlrobson
parent 2775ec31b1
commit df803b6294
2 changed files with 0 additions and 4 deletions

View file

@ -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;

View file

@ -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;