Skip to content

Commit

Permalink
fix: Toaster.gap doesn't work (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
atsixian authored Mar 21, 2024
1 parent 26658d3 commit 0d395c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ const Toaster = (props: ToasterProps) => {
'--front-toast-height': `${heights[0]?.height || 0}px`,
'--offset': typeof offset === 'number' ? `${offset}px` : offset || VIEWPORT_OFFSET,
'--width': `${TOAST_WIDTH}px`,
'--gap': `${GAP}px`,
'--gap': `${gap}px`,
...style,
} as React.CSSProperties
}
Expand Down

0 comments on commit 0d395c4

Please sign in to comment.