From f5321c9d58ad6d1a22a5e68e6c9f857e483205ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 12 Apr 2023 18:49:42 +0000 Subject: [PATCH] Bug 1827027 - Allow urlbar to shrink more for popups. r=dao I'm not convinced this is the right fix but we're fundamentally out of space otherwise... Differential Revision: https://phabricator.services.mozilla.com/D175037 --- browser/themes/shared/urlbar-searchbar.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/browser/themes/shared/urlbar-searchbar.css b/browser/themes/shared/urlbar-searchbar.css index 2b391e7c3952..0c1695ae80c1 100644 --- a/browser/themes/shared/urlbar-searchbar.css +++ b/browser/themes/shared/urlbar-searchbar.css @@ -272,6 +272,10 @@ flex: 400 0 auto; } +:root[chromehidden~="toolbar"] :is(#urlbar-container, #wrapper-urlbar-container) { + flex-shrink: 1; +} + #urlbar-search-splitter { /* The splitter width should equal the location and search bars' combined neighboring margin and border width. */