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
This commit is contained in:
Benjamin Berg 2019-01-14 16:05:25 +01:00 committed by Robert Ancell
parent c10e80cd80
commit 6d16bf7337

View file

@ -10,7 +10,8 @@
} }
.night-light-temperature trough { .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); background-image: linear-gradient(to right, mix(@bg_color, @ORANGE_100, 0.5), @ORANGE_500);
} }