From f4c9489585bc356f5c7ebbd582dae4f09760088a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 26 Oct 2023 18:56:17 +0200 Subject: [PATCH] style: Stop setting slider height Now that the slider requests a correct height, it is no longer necessary to set it explicitly from the stylesheet. Part-of: --- data/theme/gnome-shell-sass/widgets/_osd.scss | 1 - data/theme/gnome-shell-sass/widgets/_quick-settings.scss | 5 ----- 2 files changed, 6 deletions(-) diff --git a/data/theme/gnome-shell-sass/widgets/_osd.scss b/data/theme/gnome-shell-sass/widgets/_osd.scss index 0d09ffb3c..3562f16f8 100644 --- a/data/theme/gnome-shell-sass/widgets/_osd.scss +++ b/data/theme/gnome-shell-sass/widgets/_osd.scss @@ -23,7 +23,6 @@ $osd_levelbar_height:6px; margin-bottom: 4px; &:first-child { margin-bottom: 0px; } - height: $osd_levelbar_height; min-width:$base_icon_size * 10; -barlevel-height: $osd_levelbar_height; -barlevel-background-color: transparentize($osd_fg_color, if($variant=='light', 0.7, 0.9)); diff --git a/data/theme/gnome-shell-sass/widgets/_quick-settings.scss b/data/theme/gnome-shell-sass/widgets/_quick-settings.scss index 9189ac8d1..723afe7db 100644 --- a/data/theme/gnome-shell-sass/widgets/_quick-settings.scss +++ b/data/theme/gnome-shell-sass/widgets/_quick-settings.scss @@ -84,7 +84,6 @@ .slider-bin { &:focus {@include button(focus);} - min-height: 16px; // slider size padding: $base_padding; border-radius: 99px; } @@ -164,10 +163,6 @@ .device-subtitle { color: transparentize($fg_color, 0.5); } -.keyboard-brightness-item .slider { - min-height: 16px; -} - .keyboard-brightness-level { spacing: $base_padding;