From 8a2ffe0722a35d4e1165a87a32915e2648103b4c Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Mon, 17 Aug 2020 14:36:01 -0700 Subject: [PATCH] Search in header: fix break point The width comfortable should consider the max-width of the search not the min-width. This fixes the bug documented in T249363#6391041 Bug: T249363 Change-Id: I3e216a3705730092f88d1dcbb5193e411945a083 --- resources/skins.vector.styles/layout-search-header.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.vector.styles/layout-search-header.less b/resources/skins.vector.styles/layout-search-header.less index c81f749..d281960 100644 --- a/resources/skins.vector.styles/layout-search-header.less +++ b/resources/skins.vector.styles/layout-search-header.less @@ -15,7 +15,7 @@ @padding-horizontal-page-container-ems: unit( @padding-horizontal-page-container / @font-size-browser, em ); @min-width-supported: @width-grid-column-one + @min-width-personal-tools + ( @padding-horizontal-page-container-ems * 2 ); -@width-comfortable: @min-width-logo + @size-sidebar-button + @min-width-search + @min-width-personal-tools; +@width-comfortable: @min-width-logo + @size-sidebar-button + @max-width-search + @min-width-personal-tools; @height-personal-tools: 2em;