mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-22 00:54:37 -04:00
1 parent
d7c4b1ff1d
commit
2ad42a599b
1 file changed
+10
-2
@@ -111,9 +111,17 @@ const Toast = ({ closable = true, action, cancel, ...props }: ToastProps) => {
|
||||
)}
|
||||
|
||||
<div className="flex grow flex-col">
|
||||
{title && <span className="font-medium text-ink">{title}</span>}
|
||||
{title && (
|
||||
<span className="font-medium text-ink" style={{ wordBreak: 'break-word' }}>
|
||||
{title}
|
||||
</span>
|
||||
)}
|
||||
|
||||
<div className="mt-0.5">{body}</div>
|
||||
{body && (
|
||||
<div className="mt-0.5" style={{ wordBreak: 'break-word' }}>
|
||||
{body}
|
||||
</div>
|
||||
)}
|
||||
|
||||
{(action || cancel) && (
|
||||
<div className="mt-2.5 flex gap-2">
|
||||
|
||||
Reference in new issue
Block a user