From 2ec8b13fae3410124a57063157bd5729d6f0151d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Fri, 18 Nov 2022 13:34:42 +0000 Subject: [PATCH] Bug 1800828 - Make labels for font dialog not wrap. r=desktop-theme-reviewers,dao Use max-content sizing for them. This matches the XUL behavior. Depends on D162342 Differential Revision: https://phabricator.services.mozilla.com/D162343 --- browser/themes/shared/preferences/preferences.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/themes/shared/preferences/preferences.css b/browser/themes/shared/preferences/preferences.css index a35951327dc1..8515f2e34ac3 100644 --- a/browser/themes/shared/preferences/preferences.css +++ b/browser/themes/shared/preferences/preferences.css @@ -669,7 +669,7 @@ richlistitem[selected] .actionsMenu:focus-visible { #font-chooser-group { display: grid; - grid-template-columns: auto 1fr auto auto; + grid-template-columns: max-content 1fr max-content max-content; } #defaultFont {