Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jan 30, 2024
1 parent 65277a8 commit 6172be9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/Models/StyleManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,22 @@ public class He.StyleManager : Object {
border-bottom-left-radius: $x_large_roundness;
border-bottom-right-radius: $x_large_roundness;
}
.segmented-button button:first-child {
border-top-left-radius: $x_large_roundness;
border-bottom-left-radius: $x_large_roundness;
}
.segmented-button button:first-child:dir(rtl) {
border-top-right-radius: $x_large_roundness;
border-bottom-right-radius: $x_large_roundness;
}
.segmented-button button:last-child {
border-top-right-radius: $x_large_roundness;
border-bottom-right-radius: $x_large_roundness;
}
.segmented-button button:last-child:dir(rtl) {
border-top-left-radius: $x_large_roundness;
border-bottom-left-radius: $x_large_roundness;
}
";

Misc.init_css_provider_from_string (accent, css);
Expand Down

0 comments on commit 6172be9

Please sign in to comment.