The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 19:30 UTC
fix(web): let toast content use the full accordion width (#23777)
Yash Singh committed
Oct 22, 2026 at 13:55 UTC
e54e71d725b6eef166ee9b85137c09e051cff342
1 file changed
+7
-2
apps/web/src/components/ui/toast.tsx
+7
-2
@@ -285,7 +285,7 @@ function deriveToastBodyDescriptor(toast: {
285
hasVisibleToastAction(toast.actionProps) ||
286
hasAdditionalActions ||
287
hasSecondaryAction;
288
- const inlineContentEndPad = hasTrailingControls ? "pr-6" : "pr-10";
288
+ const inlineContentEndPad = hasTrailingControls ? "pr-6" : "pr-3.5";
289
return {
290
Icon,
291
stackedActionLayout,
@@ -330,7 +330,12 @@ function ToastBodyContent({
330
stackedActionLayout ? "pr-5" : "flex-1",
331
)}
332
>
333
- <div className="flex min-w-0 gap-2">
333
+ <div
334
+ className={cn(
335
+ "flex min-w-0 gap-2",
336
+ !stackedActionLayout && !hasTrailingControls && "pr-6",
337
+ )}
338
+ >
339
{leadingIcon ? (
340
<div
341
className="flex h-lh w-4 shrink-0 items-center justify-center"