From a91e4d2fbbdd861bf7926fddb4c91472b17d0626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Thu, 26 Sep 2019 15:26:42 +0000 Subject: [PATCH] Bug 1581753 - Improve one-off search button layout in narrow windows. r=mak Differential Revision: https://phabricator.services.mozilla.com/D47270 --HG-- extra : moz-landing-system : lando --- browser/themes/shared/urlbar-autocomplete.inc.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/browser/themes/shared/urlbar-autocomplete.inc.css b/browser/themes/shared/urlbar-autocomplete.inc.css index a16cc6b134b8..fc92f17be2bc 100644 --- a/browser/themes/shared/urlbar-autocomplete.inc.css +++ b/browser/themes/shared/urlbar-autocomplete.inc.css @@ -394,7 +394,10 @@ } #urlbar .search-panel-one-offs { - padding-inline: 12px; + padding-inline-start: 12px; + /* Make sure we can fit at least three buttons horizontally. */ + min-width: 120px; + box-sizing: content-box; } #urlbar .search-panel-header {