Skip to content

Commit 629052f

Browse files
committed
refactor(tooltip): use physical instead of logical properties for the borders
1 parent b3ec4dd commit 629052f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/tooltip/themes/shared/tooltip.common.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,29 @@ $color-border: rem(4px) solid var-get($theme, 'background');
1414
#arrow {
1515
&[part='top'],
1616
&[part='bottom'] {
17-
border-inline-start: $transparent-border;
18-
border-inline-end: $transparent-border;
17+
border-left: $transparent-border;
18+
border-right: $transparent-border;
1919
}
2020

2121
&[part='top'] {
22-
border-block-start: $color-border;
22+
border-top: $color-border;
2323
}
2424

2525
&[part='bottom'] {
26-
border-block-end: $color-border;
26+
border-bottom: $color-border;
2727
}
2828

2929
&[part='left'],
3030
&[part='right'] {
31-
border-block-start: $transparent-border;
32-
border-block-end: $transparent-border;
31+
border-top: $transparent-border;
32+
border-bottom: $transparent-border;
3333
}
3434

3535
&[part='left'] {
36-
border-inline-start: $color-border;
36+
border-left: $color-border;
3737
}
3838

3939
&[part='right'] {
40-
border-inline-end: $color-border;
40+
border-right: $color-border;
4141
}
4242
}

0 commit comments

Comments
 (0)