ui icon indicating copy to clipboard operation
ui copied to clipboard

fix(accordion): flex styles breaking on with longer trigger text

Open bdbch opened this issue 1 year ago • 4 comments

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: image

After: image

bdbch avatar Jun 14 '23 22:06 bdbch

@bdbch is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 14 '23 22:06 vercel[bot]

A while ago I opened an issue and a user fixed it in this pull request, but it hasn't been merged yet.

jocarrd avatar Jun 15 '23 06:06 jocarrd

Duplicate of #317

dan5py avatar Jun 15 '23 14:06 dan5py

#717 fixed the icon issue. I made this #743 to fix the text alignment (updated to latest version).

dan5py avatar Jun 27 '23 14:06 dan5py