Skip to content

Commit 83fe519

Browse files
committed
flipped form section logic to ensure hidden elements aren't adding padding or borders
1 parent 21c5406 commit 83fe519

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div {{ $attributes->class([
2-
'flex flex-col gap-y-4 [&_section:not(:last-child)]:pb-4',
3-
'divide-y divide-[var(--border)]',
2+
'flex flex-col gap-y-4',
3+
'[&_section:not(:first-child)]:pt-4 [&_section:not(:first-child)]:border-t [&_section]:border-[var(--border)]',
44
]) }}>
55
{{ $slot }}
66
</div>

0 commit comments

Comments
 (0)