The best way to control Claude Code, Codex and more from any computer or phone
fix(web): long guide Next buttons wrap instead of overflowing (#24189)
Co-authored-by: maria-rcks <maria@kuuro.net>
Alex committed
Oct 30, 2026 at 14:04 UTC
c9246445e02169ea414e6bd97ca3c80bbf8bd94b
2 files changed
+4
-2
apps/web/src/components/pullRequest/guide/GuideStop.tsx
+2
-2
@@ -270,8 +270,8 @@ export function GuideStop({
270
271
<footer className="flex flex-wrap items-center justify-end gap-3 border-t border-border/60 pt-4">
272
{nextTitle !== null ? (
273
- <Button className="min-w-0" onClick={() => onStep(1)}>
274
- <span className="min-w-0 truncate">Next: {nextTitle}</span>
273
+ <Button size="multiline" className="max-w-full" onClick={() => onStep(1)}>
274
+ <span className="min-w-0 break-words">Next: {nextTitle}</span>
275
<ArrowRightIcon aria-hidden />
276
</Button>
277
) : onFinish !== null ? (
apps/web/src/components/ui/button.tsx
+2
@@ -30,6 +30,8 @@ const buttonVariants = cva(
30
lg: "h-10 px-[calc(--spacing(3.5)-1px)] sm:h-9",
31
micro:
32
"h-5 gap-1 rounded-sm px-[calc(--spacing(1.5)-1px)] text-[11px] before:rounded-[calc(var(--radius-sm)-1px)] sm:text-[11px] [&_svg:not([class*='size-'])]:size-3 sm:[&_svg:not([class*='size-'])]:size-3",
33
+ multiline:
34
+ "min-h-9 px-[calc(--spacing(3)-1px)] py-[calc(--spacing(1.5)-1px)] whitespace-normal sm:min-h-8",
35
sm: "h-8 gap-1.5 px-[calc(--spacing(2.5)-1px)] sm:h-7",
36
"sm-multiline":
37
"min-h-8 gap-1.5 px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1)-1px)] whitespace-normal sm:min-h-7",