From 0bba957a37398e483cb087d510f815249703bea2 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Wed, 30 Sep 2020 09:56:06 -0700 Subject: [PATCH] Reduce min-width so it doesn't include personal tools Now the header is no longer absolutely positioned the height is not fixed and the personal tools can safely spill onto a new line Bug: T264206 Change-Id: Ib2a3cf1907c7d06c2c92ccbd902a98a3f8242f37 --- resources/skins.vector.styles/layout-search-header.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/skins.vector.styles/layout-search-header.less b/resources/skins.vector.styles/layout-search-header.less index 4825ade..8c8bb68 100644 --- a/resources/skins.vector.styles/layout-search-header.less +++ b/resources/skins.vector.styles/layout-search-header.less @@ -18,10 +18,10 @@ @padding-horizontal-page-container-ems: unit( @padding-horizontal-page-container / @font-size-browser, em ); // the width of the container if you exclude consideration for search -@min-width-container-base: @padding-horizontal-page-container-ems + @size-sidebar-button + @margin-horizontal-sidebar-button-icon-ems + @min-width-logo + @min-width-personal-tools + @padding-horizontal-page-container-ems; +@min-width-container-base: @padding-horizontal-page-container-ems + @size-sidebar-button + @margin-horizontal-sidebar-button-icon-ems + @min-width-logo + @padding-horizontal-page-container-ems; @min-width-supported: @min-width-container-base + @min-width-search; -@width-comfortable: @min-width-container-base + @margin-horizontal-search + @max-width-search + @margin-horizontal-search; +@width-comfortable: @min-width-container-base + @margin-horizontal-search + @max-width-search + @margin-horizontal-search + @min-width-personal-tools; @height-personal-tools: 2em;