From 43e9776142b1ca5ade6e2edcc64c86996f01664e Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Tue, 1 Sep 2020 12:08:07 -0700 Subject: [PATCH] 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 --- resources/skins.vector.styles/layout-search-header.less | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/skins.vector.styles/layout-search-header.less b/resources/skins.vector.styles/layout-search-header.less index 1fdf703..d99ce84 100644 --- a/resources/skins.vector.styles/layout-search-header.less +++ b/resources/skins.vector.styles/layout-search-header.less @@ -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; }