commit 97b7a42f0f1939e04cc5e272437dfca56d899c64 parent cad83e084f4087e434dc5a8cb88dbf7d44390908 Author: Drew Willcoxon <adw@mozilla.com> Date: Mon, 24 Nov 2025 18:16:47 +0000 Bug 2001767 - Don't set extra padding on switch-to-tab rows when action override is engaged. r=dao,desktop-theme-reviewers,urlbar-reviewers Differential Revision: https://phabricator.services.mozilla.com/D273702 Diffstat:
| M | browser/themes/shared/urlbarView.css | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/browser/themes/shared/urlbarView.css b/browser/themes/shared/urlbarView.css @@ -731,7 +731,11 @@ visibility: hidden; width: 0; margin-inline: 0; - padding-inline: 0; + /* The !important is for the switch-to-tab chiclet when action-override is set. + Farther down below we add extra padding on .urlbarView-switchToTab to + account for the tab icon. Without !important here, that padding is + visible even when the chiclet is hidden due to action-override. */ + padding-inline: 0 !important; border-inline: 0; }