Accommodate longer user names in personal tools

The width should apply at all resolutions. Note, because of the nature
of flex box and flex-grow the personal tools can grow larger than this
value.

This avoids Alex Hollender (WMF) and similarly long usernames from every
running to the next line before they are allowed to.

Bug: T249363
Change-Id: I4640947aaaf7ab764cb17b911af7085ac291b7d1
This commit is contained in:
jdlrobson 2020-09-01 12:08:07 -07:00
parent 952abb0dde
commit 43e9776142
1 changed files with 1 additions and 4 deletions

View File

@ -42,6 +42,7 @@
#p-personal {
text-align: right;
flex-basis: @min-width-personal-tools;
// Support IE9: This is reset in @support query below if Flexbox is available.
float: right;
@ -56,10 +57,6 @@
top: @height-header-adjusted - @margin-top-header;
}
#p-personal {
width: @min-width-personal-tools;
}
.mw-header-placeholder {
height: @height-header-adjusted + @height-tabs;
}