From 764e13c912c8603983dbecd93164161f7cca92c4 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 8 Jan 2021 14:40:49 +0000 Subject: Issue #1705 - Part 6: Remove scrollbarbutton min-{width|height} rule from theme. This would interfere with implementing thin scrollbars. Almost all widgets provide a non-overridable size for scrollbar buttons, so it makes no sense to specify min size for them. It is probably(?) a layout bug that min size properties can override the value returned by GetMinimumWidgetSize even if aIsOverridable is set to false, but removing this rule is simpler than locating and fixing the issue in layout code ;) --- toolkit/themes/windows/global/xulscrollbars.css | 2 -- 1 file changed, 2 deletions(-) (limited to 'toolkit') diff --git a/toolkit/themes/windows/global/xulscrollbars.css b/toolkit/themes/windows/global/xulscrollbars.css index 6d8f1c8c8..53f237605 100644 --- a/toolkit/themes/windows/global/xulscrollbars.css +++ b/toolkit/themes/windows/global/xulscrollbars.css @@ -72,8 +72,6 @@ thumb[orient="horizontal"] { scrollbarbutton { background: -moz-Dialog no-repeat 50% 50%; - min-width: 16px; - min-height: 16px; } scrollbarbutton:hover:active, scrollbarbutton[active="true"] { -- cgit v1.2.3