Skip to content

Commit 8124e9c

Browse files
authored
Add minimum size for slider (#905)
1 parent e53019c commit 8124e9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Styles/Gtk/Slider.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
slider {
2+
$diameter: rem(16px);
23
@include control;
34

45
border: none;
@@ -9,6 +10,10 @@ slider {
910
0 0 0 1px $border-color,
1011
shadow(2);
1112

13+
// 16px - border
14+
min-height: calc(#{$diameter} - 1px);
15+
min-width: calc(#{$diameter} - 1px);
16+
1217
&:backdrop {
1318
box-shadow:
1419
highlight(),

0 commit comments

Comments
 (0)