mediawiki-skins-MinervaNeue/resources/skins.minerva.base.styles/userMenu.less
Stephen Niedzielski 17ffe01016 [hack] [toolbar] tighten the icon spacing
Reduce the spacing between toolbar icons in a kind-of sort-of hacky
kinda way.

Bug: T230232
Change-Id: I53d194bc0fe760d1b855ca84bcd4b40ce2ec4c2e
2019-08-30 17:58:26 +00:00

33 lines
698 B
Plaintext

@import '../../minerva.less/minerva.variables.less';
// The top level user account button in the upper right near the notifications button.
.minerva-user-navigation {
display: flex;
height: @headerHeight;
// Fill empty space left / start so the buttons can stay right / end.
width: 100%;
// Keep space for at least two buttons.
min-width: 2 * 43px;
// Center vertically.
align-items: center;
// Layout from right / end.
justify-content: flex-end;
// Show the list relative the button.
position: relative;
.mw-ui-icon-element {
display: block;
width: 43px;
min-width: 43px;
&:before {
margin: 0 11.5px;
}
}
.toggle-list {
width: 43px;
display: inline-block;
}
}