mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-08 22:05:16 +02:00
Set max-width on toast
This commit is contained in:
@@ -59,9 +59,8 @@ export function Toast({ children, open, onClose, timeout, action, icon, color }:
|
|||||||
`x-theme-toast x-theme-toast--${color}`,
|
`x-theme-toast x-theme-toast--${color}`,
|
||||||
'pointer-events-auto overflow-hidden',
|
'pointer-events-auto overflow-hidden',
|
||||||
'relative pointer-events-auto bg-surface text-text rounded-lg',
|
'relative pointer-events-auto bg-surface text-text rounded-lg',
|
||||||
'border border-border shadow-lg',
|
'border border-border shadow-lg max-w-[30rem]',
|
||||||
'grid grid-cols-[1fr_auto]',
|
'grid grid-cols-[1fr_auto]',
|
||||||
'text',
|
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="px-3 py-3 flex items-center gap-2">
|
<div className="px-3 py-3 flex items-center gap-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user