ui
ui copied to clipboard
fix(accordion): flex styles breaking on with longer trigger text
This PR should fix #593 and fix #316
Since there was no wrapping element for the inline text, flex was going crazy. The added span plus extra classes help with this issue. Now accordion items should look correct even when the trigger title is longer.
Before:
After:
@bdbch is attempting to deploy a commit to the shadcn-pro Team on Vercel.
A member of the Team first needs to authorize it.
A while ago I opened an issue and a user fixed it in this pull request, but it hasn't been merged yet.
Duplicate of #317
#717 fixed the icon issue. I made this #743 to fix the text alignment (updated to latest version).