mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
Merge branch 'scale-hotfix' into 'main'
theme: Fix positioning of scale values (hotfix!) See merge request GNOME/gtk!7656
This commit is contained in:
commit
8fb946f6e8
@ -2702,6 +2702,7 @@ scale {
|
||||
// sizing
|
||||
$_marks_length: 6px;
|
||||
$_marks_distance: 6px;
|
||||
$_marks_size: $_marks_length + $_marks_distance;
|
||||
|
||||
min-height: 10px;
|
||||
min-width: 10px;
|
||||
@ -2837,6 +2838,14 @@ scale {
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.marks-before) {
|
||||
> value.top { margin-bottom: $_marks_size; }
|
||||
}
|
||||
|
||||
&:not(.marks-after) {
|
||||
> value.bottom { margin-top: $_marks_size; }
|
||||
}
|
||||
|
||||
> value.left { margin-right: 9px; }
|
||||
> value.right { margin-left: 9px; }
|
||||
|
||||
@ -2861,6 +2870,14 @@ scale {
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.marks-before) {
|
||||
> value.left { margin-right: $_marks_size; }
|
||||
}
|
||||
|
||||
&:not(.marks-after) {
|
||||
> value.right { margin-left: $_marks_size; }
|
||||
}
|
||||
|
||||
> value.top { margin-bottom: 9px; }
|
||||
> value.bottom { margin-top: 9px; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user