style(sonner): change important symbol to the end

This commit is contained in:
icarus 2026-01-08 12:43:44 +08:00
parent 909aacdf7d
commit 0a4a835a6a
No known key found for this signature in database
GPG Key ID: D4AF089AAEC25D18

View File

@ -378,7 +378,7 @@ function toast(props: ToastProps) {
props.classNames?.actionButton
),
icon: cn('size-6 min-w-6', props.description && 'self-start'),
loader: cn('!static ![--size:24px]'),
loader: cn('static! [--size:24px]!'),
closeButton: cn('absolute size-5 min-w-5 top-[5px] right-1.5 [&_svg]:size-5')
}
const { classNames: externalClassNames, ...rest } = props