From d5f69bb86133828fd2ac91b8ac76c962a0eef99e Mon Sep 17 00:00:00 2001 From: ak-asu Date: Sun, 22 Mar 2026 09:04:10 -0700 Subject: [PATCH] preview ui changes --- .../src/components/forge/ForgeChatPanel.tsx | 161 ++++++------ .../components/forge/RequirementsPanel.tsx | 243 ++++++++++++++++-- 2 files changed, 307 insertions(+), 97 deletions(-) diff --git a/frontend/src/components/forge/ForgeChatPanel.tsx b/frontend/src/components/forge/ForgeChatPanel.tsx index dae90f9..1c438ce 100644 --- a/frontend/src/components/forge/ForgeChatPanel.tsx +++ b/frontend/src/components/forge/ForgeChatPanel.tsx @@ -333,8 +333,8 @@ function ClarificationCard({ {q.question}

- {/* Option pills */} -
+ {/* Option pills — uniform grid so all chips share equal width */} +
{q.options.map((opt, optIdx) => { const isSelected = selectedOptIdx === optIdx; return ( @@ -344,10 +344,10 @@ function ClarificationCard({ disabled={disabled} onClick={() => handleOptionClick(qIdx, optIdx)} style={{ - padding: '4px 10px', - borderRadius: '100px', + padding: '6px 10px', + borderRadius: '7px', border: `0.5px solid ${isSelected ? 'rgba(45,212,191,0.35)' : 'var(--lp-border)'}`, - background: isSelected ? 'var(--lp-accent-dim)' : 'transparent', + background: isSelected ? 'var(--lp-accent-dim)' : 'var(--lp-elevated)', color: isSelected ? 'var(--lp-accent)' : 'var(--lp-text-secondary)', fontFamily: 'var(--font-inter), system-ui, sans-serif', fontSize: '11px', @@ -356,6 +356,8 @@ function ClarificationCard({ transition: 'background 120ms ease, border-color 120ms ease, color 120ms ease', outline: 'none', lineHeight: 1.4, + textAlign: 'center', + width: '100%', }} aria-pressed={isSelected} > @@ -1064,42 +1066,47 @@ function InputBar({
)} -
-