summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-08 14:40:49 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-08 14:40:49 +0000
commit764e13c912c8603983dbecd93164161f7cca92c4 (patch)
tree3e16c6bbe9f0d8507b17c67d912b70da63144db7
parentc05bca316875ca90c56468e70b54a355bd4ca3c6 (diff)
downloadUXP-764e13c912c8603983dbecd93164161f7cca92c4.tar
UXP-764e13c912c8603983dbecd93164161f7cca92c4.tar.gz
UXP-764e13c912c8603983dbecd93164161f7cca92c4.tar.lz
UXP-764e13c912c8603983dbecd93164161f7cca92c4.tar.xz
UXP-764e13c912c8603983dbecd93164161f7cca92c4.zip
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 ;)
-rw-r--r--toolkit/themes/windows/global/xulscrollbars.css2
1 files changed, 0 insertions, 2 deletions
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"] {