Merge branch 'scale-hotfix' into 'main'

theme: Fix positioning of scale values (hotfix!)

See merge request GNOME/gtk!7656
This commit is contained in:
Matthias Clasen 2024-08-27 21:07:40 +00:00
commit 8fb946f6e8

View File

@ -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; }