diff --git a/frontend/src/components/NormalizedConversation/NextActionCard.tsx b/frontend/src/components/NormalizedConversation/NextActionCard.tsx
index 884d8847..9b59056f 100644
--- a/frontend/src/components/NormalizedConversation/NextActionCard.tsx
+++ b/frontend/src/components/NormalizedConversation/NextActionCard.tsx
@@ -176,7 +176,7 @@ export function NextActionCard({
)}
{/* Left: Diff summary */}
{!error && (
@@ -195,8 +195,6 @@ export function NextActionCard({
)}
-
-
{/* Run Setup or Try Again button */}
{failed &&
(needsSetup ? (
@@ -205,7 +203,7 @@ export function NextActionCard({
size="sm"
onClick={handleRunSetup}
disabled={!attempt}
- className="text-sm"
+ className="text-sm w-full sm:w-auto"
aria-label={t('attempt.runSetup')}
>
{t('attempt.runSetup')}
@@ -217,7 +215,7 @@ export function NextActionCard({
size="sm"
onClick={handleTryAgain}
disabled={!attempt?.task_id}
- className="text-sm"
+ className="text-sm w-full sm:w-auto"
aria-label={t('attempt.tryAgain')}
>
{t('attempt.tryAgain')}
@@ -227,7 +225,7 @@ export function NextActionCard({
{/* Right: Icon buttons */}
{fileCount > 0 && (
-