[gnome-control-center/benzea/fix-night-light-slider-fine-tuning: 503/503] display: Increase the trough size using a different method
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/benzea/fix-night-light-slider-fine-tuning: 503/503] display: Increase the trough size using a different method
- Date: Sun, 25 Aug 2019 09:17:07 +0000 (UTC)
commit 6d16bf733739c6fd4e9ea99c6d8201fa3a214b04
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 ce9058208..b73f51080 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]