From 23af707b41a78a1b3e4af09b9d8847f51dfadff1 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Mon, 25 Jan 2021 14:15:22 +0100 Subject: [PATCH] Adwaita: make scrollbars larger When using scrollbars as active controls, rather than their primary role as indicators, increase their size as click targets. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1886 --- gtk/theme/Adwaita/_common.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 9bf97e18bf..05877b1dc7 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2282,11 +2282,11 @@ scrollbar { &.right { border-left: 1px solid $borders_color; } > range > trough > slider { - min-width: 6px; - min-height: 6px; + min-width: 10px; + min-height: 10px; margin: -1px; border: 4px solid transparent; - border-radius: 8px; + border-radius: 10px; background-clip: padding-box; background-color: $scrollbar_slider_color; @@ -2299,12 +2299,12 @@ scrollbar { > range.fine-tune { > trough > slider { - min-width: 4px; - min-height: 4px; + min-width: 6px; + min-height: 6px; } - &.horizontal > trough > slider { border-width: 5px 4px; } - &.vertical > trough > slider { border-width: 4px 5px; } + &.horizontal > trough > slider { border-width: 6px 4px; } + &.vertical > trough > slider { border-width: 4px 6px; } } &.overlay-indicator {