Skip to content

Commit

Permalink
[web-components] fix: remove logical properties to fix spinner in rtl (
Browse files Browse the repository at this point in the history
  • Loading branch information
davatron5000 authored Jan 14, 2025
1 parent 1e110d6 commit 00458f3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "fix: revert logical properties in spinner to support rtl\"",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
8 changes: 4 additions & 4 deletions packages/web-components/src/spinner/spinner.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ export const styles = css`
.start {
overflow: hidden;
inset-inline-end: 50%;
right: 50%;
}
.end {
overflow: hidden;
inset-inline-start: 50%;
left: 50%;
}
.indicator {
Expand All @@ -107,7 +107,7 @@ export const styles = css`
border-radius: 50%;
border: var(--indicatorSize) solid transparent;
border-block-start-color: currentcolor;
border-inline-end-color: currentcolor;
border-right-color: currentcolor;
}
:host(${invertedState}) .indicator {
Expand Down Expand Up @@ -171,7 +171,7 @@ export const styles = css`
.indicator {
border-color: Canvas;
border-block-start-color: Highlight;
border-inline-end-color: Highlight;
border-right-color: Highlight;
}
`),
);

0 comments on commit 00458f3

Please sign in to comment.