Skip to content

Commit 0d395c4

Browse files
authored
fix: Toaster.gap doesn't work (#375)
1 parent 26658d3 commit 0d395c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ const Toaster = (props: ToasterProps) => {
622622
'--front-toast-height': `${heights[0]?.height || 0}px`,
623623
'--offset': typeof offset === 'number' ? `${offset}px` : offset || VIEWPORT_OFFSET,
624624
'--width': `${TOAST_WIDTH}px`,
625-
'--gap': `${GAP}px`,
625+
'--gap': `${gap}px`,
626626
...style,
627627
} as React.CSSProperties
628628
}

0 commit comments

Comments
 (0)