mirror of
https://github.com/stablyai/orca.git
synced 2026-10-08 08:02:32 +00:00
Use flex/gap instead of space-y for fieldset spacing
space-y margins use :where() (zero specificity), so m-0 on nested fieldsets collapses the gap. flex flex-col with gap-8 maintains proper spacing between sections.
This commit is contained in:
@@ -175,7 +175,10 @@ export function AgentCatalogSectionView({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="space-y-8">
|
||||
// Why: gap (not space-y) — the default fieldset uses m-0, and Tailwind v4's
|
||||
// space-y margins are :where() (zero specificity) so m-0 would collapse the
|
||||
// gap between Default agent and Agents.
|
||||
<div className="flex flex-col gap-8">
|
||||
{/* Why: read-only disabling is scoped per control group (not one pane-wide
|
||||
fieldset) so the catalog search box stays usable on paired clients. */}
|
||||
<fieldset disabled={readOnly} className="m-0 min-w-0 border-0 p-0">
|
||||
|
||||
Reference in New Issue
Block a user