From 8c60a51b15cc68d5585dd948411c10ab8ffad680 Mon Sep 17 00:00:00 2001 From: Pedro Pinto Silva Date: Mon, 2 Dec 2024 12:41:50 +0100 Subject: [PATCH] Mobile: Status bar dropdown is always an icon: no need for dedicated width Previously the commit bellow fixed a regression related to dropdown width: 591e003a300ecf9ffe5a5ce770e5d62f3cc1b28f "Status bar: fix dropdown width" However there seems to be no reason to apply this fix to the mobile toolbar since we can safely conclude that the dropdowns always have the same fixed size (icons) Signed-off-by: Pedro Pinto Silva Change-Id: I3733b4d736d1481a382fffb71b451b82ad77d04d --- browser/css/jsdialogs.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/css/jsdialogs.css b/browser/css/jsdialogs.css index 04578a4977117..6bead6e3478a2 100644 --- a/browser/css/jsdialogs.css +++ b/browser/css/jsdialogs.css @@ -1730,7 +1730,7 @@ input[type='number']:hover::-webkit-outer-spin-button { align-items: center; } -#toolbar-down .has-dropdown > .ui-content.unobutton { +#toolbar-wrapper:not(.mobile) ~ #toolbar-down .has-dropdown > .ui-content.unobutton { width: max-content; }