authorgravatar for lakshmi@voltcrash.comLakshmi Tanmay <lakshmi@voltcrash.com> 2026-10-10 07:45:23+05:30
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-09 23:15:23-03:00
log07b80800124982bce94879a97767a5365987e8f1
treee07ab1be3fb202bf382689a5b80e43fb3ca9961f
parentf3a69c70c6a5bc624e1b5eb80901d8b7c901ad6f
signature Signed by PGP key B5690EEEBB952194

fix(web): place notification icons after titles (#12209)


1 files changed, 1 insertions(+), 1 deletions(-)

apps/web/src/components/ui/toast.tsx+1-1
...@@ -340,6 +340,7 @@ function ToastBodyContent({...@@ -340,6 +340,7 @@ function ToastBodyContent({
340 )}340 )}
341 >341 >
342 <div className="flex min-w-0 gap-2">342 <div className="flex min-w-0 gap-2">
343 <Toast.Title className="min-w-0 wrap-break-word font-medium" data-slot="toast-title" />
343 {leadingIcon ? (344 {leadingIcon ? (
344 <div345 <div
345 className="flex h-lh w-4 shrink-0 items-center justify-center"346 className="flex h-lh w-4 shrink-0 items-center justify-center"
...@@ -355,7 +356,6 @@ function ToastBodyContent({...@@ -355,7 +356,6 @@ function ToastBodyContent({
355 <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" />356 <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" />
356 </div>357 </div>
357 ) : null}358 ) : null}
358 <Toast.Title className="min-w-0 wrap-break-word font-medium" data-slot="toast-title" />
359 </div>359 </div>
360 <ToastDescriptionAndExpandable360 <ToastDescriptionAndExpandable
361 toastData={toastData}361 toastData={toastData}