feat(layout): improve settings form layout and enhance textarea overflow handling

This commit is contained in:
CaIon
2026-06-17 21:16:50 +08:00
parent e5250d6403
commit 122a730a77
2 changed files with 5 additions and 1 deletions
@@ -52,6 +52,10 @@ export function SettingsFormGrid(props: SettingsFormGridProps) {
data-settings-form-span='full'
className={cn(
'grid min-w-0 gap-x-5 gap-y-6 lg:grid-cols-2',
'lg:[&>[data-settings-form-span=full]]:col-span-2',
'[&>[data-slot=form-item]]:min-w-0',
'lg:[&>[data-slot=form-item]:has(textarea)]:col-span-2',
'lg:[&>[data-slot=form-item]:has([data-slot=switch])]:col-span-2',
props.className
)}
>