feat(proxies): adjust collapsible grid columns

This commit is contained in:
kunish 2024-10-11 01:53:39 +08:00
parent 401a641381
commit 3d1a234978
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -41,7 +41,7 @@ export const Collapse: ParentComponent<Props> = (props) => {
<div <div
class={twMerge( class={twMerge(
getCollapseContentClassName(), getCollapseContentClassName(),
'collapse-content grid grid-cols-1 gap-2 transition-opacity duration-1000 xl:grid-cols-3 2xl:grid-cols-4', 'collapse-content grid grid-cols-1 gap-2 transition-opacity duration-1000 xl:grid-cols-2 2xl:grid-cols-3',
)} )}
> >
<Show when={props.isOpen}>{children(() => props.children)()}</Show> <Show when={props.isOpen}>{children(() => props.children)()}</Show>