From d5ef895e917d8ea55144a876a6407213b36cdad0 Mon Sep 17 00:00:00 2001 From: pikann22 Date: Mon, 22 Jun 2026 11:21:17 +0000 Subject: [PATCH] fix: standardize font sizes in BDD scenarios section --- frontend/src/BDDScenariosSection.tsx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/BDDScenariosSection.tsx b/frontend/src/BDDScenariosSection.tsx index fef3e1d..3e3fc19 100644 --- a/frontend/src/BDDScenariosSection.tsx +++ b/frontend/src/BDDScenariosSection.tsx @@ -58,7 +58,7 @@ function ClauseRow({
@@ -72,7 +72,7 @@ function ClauseRow({ disabled={disabled} rows={1} placeholder={placeholder} - className="flex-1 min-h-7 resize-none bg-transparent text-[12.5px] leading-relaxed text-foreground/90 outline-none placeholder:text-muted-foreground/40 disabled:opacity-60 focus:placeholder:text-muted-foreground/60 transition-colors py-0.5" + className="flex-1 min-h-7 resize-none bg-transparent text-sm leading-relaxed text-foreground/90 outline-none placeholder:text-muted-foreground/40 disabled:opacity-60 focus:placeholder:text-muted-foreground/60 transition-colors py-0.5" style={{ fieldSizing: "content" } as CSSProperties} />
@@ -182,14 +182,14 @@ function ScenarioCard({ } }} onClick={(e) => e.stopPropagation()} - className="flex-1 bg-transparent text-[13px] font-semibold text-foreground outline-none" + className="flex-1 bg-transparent text-sm font-semibold text-foreground outline-none" /> ) : ( @@ -352,7 +352,7 @@ function NewScenarioForm({ type="button" onClick={() => createMut.mutate()} disabled={!canSave} - className="text-[11px] font-semibold px-2.5 py-1.5 rounded-lg bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-40 transition-all duration-150" + className="text-xs font-semibold px-2.5 py-1.5 rounded-lg bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-40 transition-all duration-150" > {createMut.isPending ? "Creating…" : "Create scenario"} @@ -378,10 +378,10 @@ function BDDScenariosSectionInner({
{/* Section heading */}
-

+

BDD Scenarios {scenarios.length > 0 && ( - + {scenarios.length} )} @@ -392,7 +392,7 @@ function BDDScenariosSectionInner({