Skip to content

Commit 2dbd1af

Browse files
committed
fix(ui): Ensure spinner box-sizing prevents shift
1 parent 4dc2906 commit 2dbd1af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/ui/src/primitives/Spinner.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const { size, thickness, speed } = createCssVariables('speed', 'size', 'thicknes
66
const { applyVariants, filterProps } = createVariants(theme => {
77
return {
88
base: {
9+
boxSizing: 'border-box',
910
display: 'inline-block',
1011
borderRadius: '99999px',
1112
borderTop: `${thickness} solid currentColor`,

0 commit comments

Comments
 (0)