Skip to content

Commit 5db18c0

Browse files
committedJul 23, 2024·
fix(Accordion): truncate buttons
Resolves #1909
1 parent c3122f7 commit 5db18c0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/runtime/ui.config/elements/accordion.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default {
66
size: 'text-sm',
77
color: 'text-gray-500 dark:text-gray-400',
88
padding: 'pt-1.5 pb-3',
9-
icon: 'ms-auto transform transition-transform duration-200'
9+
icon: 'ms-auto transform transition-transform duration-200 flex-shrink-0'
1010
},
1111
transition: {
1212
enterActiveClass: 'overflow-hidden transition-[height] duration-200 ease-out',
@@ -16,6 +16,7 @@ export default {
1616
openIcon: 'i-heroicons-chevron-down-20-solid',
1717
closeIcon: '',
1818
class: 'mb-1.5 w-full',
19-
variant: 'soft' as const
19+
variant: 'soft' as const,
20+
truncate: true
2021
}
2122
}

0 commit comments

Comments
 (0)
Please sign in to comment.