[gnome-control-center/benzea/fix-night-light-slider-fine-tuning: 3/3] display: Increase the trough size using a different method



commit adbaa4126dce67e0806cbd6950adb597b3baad40
Author: Benjamin Berg <bberg redhat com>
Date:   Mon Jan 14 16:05:25 2019 +0100

    display: Increase the trough size using a different method
    
    Increasing the trough size by setting the min-height caused issue when
    the scale was being fine-tuned. Changing the padding seems to have a
    similar effect without triggering any such issue (with Adwaita).
    
    Fixes #335

 panels/display/night-light.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/panels/display/night-light.css b/panels/display/night-light.css
index a318f2b20..7812ce427 100644
--- a/panels/display/night-light.css
+++ b/panels/display/night-light.css
@@ -10,7 +10,8 @@
 }
 
 .night-light-temperature trough {
-    min-height: 8px;
+    padding-top: 2px;
+    padding-bottom: 2px;
     background-image: linear-gradient(to right, mix(@bg_color, @ORANGE_100, 0.5), @ORANGE_500);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]