[优化] 界面优化

This commit is contained in:
ryan
2026-03-13 16:58:19 +08:00
parent c33ce96176
commit 139eacab89
4 changed files with 469 additions and 494 deletions
@@ -180,13 +180,13 @@ export function ToggleField({
onChange={(event) => onChange(event.target.checked)}
className="mt-1 h-4 w-4 rounded border-[var(--border-default)] accent-[var(--brand-primary)]"
/>
<span className="space-y-1">
<span className="flex flex-col">
<span className="flex items-center gap-2 text-sm font-medium text-[var(--foreground-primary)]">
<span>{label}</span>
{tooltip ? <FieldTooltip content={tooltip} /> : null}
</span>
{description ? (
<span className="block text-xs leading-5 text-[var(--foreground-secondary)]">
<span className="mt-1 block text-xs leading-5 text-[var(--foreground-secondary)]">
{description}
</span>
) : null}