Skip to content

Commit

Permalink
border radius rtl support (#3543)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouiseReid authored Jul 18, 2024
1 parent d1ca50a commit d5c2662
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,25 @@
.bpk-segmented-control:first-child {
border-top-left-radius: tokens.$bpk-border-radius-sm;
border-bottom-left-radius: tokens.$bpk-border-radius-sm;

@include utils.bpk-rtl {
border-top-left-radius: 0;
border-top-right-radius: tokens.$bpk-border-radius-sm;
border-bottom-left-radius: 0;
border-bottom-right-radius: tokens.$bpk-border-radius-sm;
}
}

.bpk-segmented-control:last-child {
border-top-right-radius: tokens.$bpk-border-radius-sm;
border-bottom-right-radius: tokens.$bpk-border-radius-sm;

@include utils.bpk-rtl {
border-top-left-radius: tokens.$bpk-border-radius-sm;
border-top-right-radius: 0;
border-bottom-left-radius: tokens.$bpk-border-radius-sm;
border-bottom-right-radius: 0;
}
}

.bpk-segmented-control:focus {
Expand Down

0 comments on commit d5c2662

Please sign in to comment.