Skip to content

Commit 1d270be

Browse files
fix(web): revert trailing toast icons (pingdotgg#18356)
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com> Co-authored-by: maria-rcks <[email protected]>
1 parent cafe620 commit 1d270be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/ui/toast.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ function ToastBodyContent({
340340
)}
341341
>
342342
<div className="flex min-w-0 gap-2">
343-
<Toast.Title className="min-w-0 wrap-break-word font-medium" data-slot="toast-title" />
344343
{leadingIcon ? (
345344
<div
346345
className="flex h-lh w-4 shrink-0 items-center justify-center"
@@ -356,6 +355,7 @@ function ToastBodyContent({
356355
<Icon className="in-data-[type=error]:text-destructive in-data-[type=info]:text-info in-data-[type=success]:text-success in-data-[type=warning]:text-warning in-data-[type=loading]:opacity-80" />
357356
</div>
358357
) : null}
358+
<Toast.Title className="min-w-0 wrap-break-word font-medium" data-slot="toast-title" />
359359
</div>
360360
<ToastDescriptionAndExpandable
361361
toastData={toastData}

0 commit comments

Comments
 (0)