Skip to content

Commit

Permalink
fix dialog content inline vars + space zero token
Browse files Browse the repository at this point in the history
  • Loading branch information
storywithoutend committed Jan 27, 2025
1 parent 40051a4 commit 6ede8b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/src/components/organisms/Dialog/DialogContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ const Container = forwardRef<
style={{
...assignInlineVars({
[styles.dialogContentMargin]: $fullWidth
? `margin: 0 -${space['4']};`
? `0 -${space['4']};`
: `0 -${space[$horizontalPadding]}`,
[styles.dialogContentMarginSm]: $fullWidth
? `margin: 0 -${space['6']}`
? `0 -${space['6']}`
: `0 -${space[$horizontalPadding]}`,
[styles.dialogContentWidthSm]: $fullWidth
? '80vw'
Expand Down
2 changes: 1 addition & 1 deletion components/src/tokens/space.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const negativeSpace = {

export const space = {
...negativeSpace,
'0': '0',
'0': '0px',
'px': '1px',
'0.25': '0.0625rem',
'0.5': '0.125rem',
Expand Down

0 comments on commit 6ede8b8

Please sign in to comment.