Skip to content

Commit

Permalink
gtk: Sync with upstream scale marks fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Sep 6, 2024
1 parent 71706f5 commit 83a56d6
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions gtk/src/default/gtk-4.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2703,6 +2703,7 @@ scale {
// sizing
$_marks_length: 6px;
$_marks_distance: 6px;
$_marks_size: $_marks_length + $_marks_distance;

min-height: 10px;
min-width: 10px;
Expand Down Expand Up @@ -2862,6 +2863,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; }

Expand Down Expand Up @@ -3940,9 +3949,6 @@ video {
min-height: 64px;
border-radius: 32px;
}
& graphicsoffload > picture {
background: black;
}
}

/************
Expand Down

0 comments on commit 83a56d6

Please sign in to comment.