Skip to content

Commit

Permalink
fix(Accordion): truncate buttons
Browse files Browse the repository at this point in the history
Resolves #1909
  • Loading branch information
benjamincanac committed Jul 23, 2024
1 parent c3122f7 commit 5db18c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/runtime/ui.config/elements/accordion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
size: 'text-sm',
color: 'text-gray-500 dark:text-gray-400',
padding: 'pt-1.5 pb-3',
icon: 'ms-auto transform transition-transform duration-200'
icon: 'ms-auto transform transition-transform duration-200 flex-shrink-0'
},
transition: {
enterActiveClass: 'overflow-hidden transition-[height] duration-200 ease-out',
Expand All @@ -16,6 +16,7 @@ export default {
openIcon: 'i-heroicons-chevron-down-20-solid',
closeIcon: '',
class: 'mb-1.5 w-full',
variant: 'soft' as const
variant: 'soft' as const,
truncate: true
}
}

0 comments on commit 5db18c0

Please sign in to comment.