From 5b009caa95d839ac3849f428fc785ee3287c8567 Mon Sep 17 00:00:00 2001 From: viettranx Date: Mon, 20 Apr 2026 07:22:32 +0700 Subject: [PATCH] fix(tts): tighten Card section spacing so titles sit close to content Card primitive uses `flex flex-col gap-6` which adds 24px between header and content regardless of `pb-3` on CardHeader. Override the flex-gap to `gap-3` on each TTS section so the section number/title visually attaches to its body. Affects: provider-setup, credentials-section, voice/model card on tts-page, test-playground, behavior-section. --- ui/web/src/pages/tts/sections/behavior-section.tsx | 6 +++--- ui/web/src/pages/tts/sections/credentials-section.tsx | 4 ++-- ui/web/src/pages/tts/sections/provider-setup.tsx | 4 ++-- ui/web/src/pages/tts/sections/test-playground.tsx | 4 ++-- ui/web/src/pages/tts/tts-page.tsx | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ui/web/src/pages/tts/sections/behavior-section.tsx b/ui/web/src/pages/tts/sections/behavior-section.tsx index 41dd2d7f..3e7e8879 100644 --- a/ui/web/src/pages/tts/sections/behavior-section.tsx +++ b/ui/web/src/pages/tts/sections/behavior-section.tsx @@ -27,8 +27,8 @@ export function BehaviorSection({ draft, onUpdate }: Props) { const [open, setOpen] = useState(true); return ( - - + +