ui icon indicating copy to clipboard operation
ui copied to clipboard

Fix accordion trigger icon shrink when text get to long

Open MohamedMujtaba opened this issue 2 years ago • 5 comments

Subject: Fix Accordion trigger icon shrinking issue

Body:

Hi ,

I've made some updates to fix an issue with the Accordion trigger icon shrinking when the text gets too long. Here are the changes I've made:

  • Added the class name "shrink-0" to the ChevronDown icon to prevent it from shrinking

  • Added the class name "text-left" to the AccordionPrimitive.Trigger to left-align the text

    I've tested these changes locally and they fix the issue. Please review and merge the pull request when you have a chance.

Thanks,

MohamedMujtaba avatar May 08 '23 11:05 MohamedMujtaba

@MohamedMujtaba 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 May 08 '23 11:05 vercel[bot]

related issue

jocarrd avatar May 08 '23 11:05 jocarrd

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2023 10:08am
ui ❌ Failed (Inspect) May 17, 2023 10:08am

vercel[bot] avatar May 10 '23 08:05 vercel[bot]

👀

jocarrd avatar May 17 '23 10:05 jocarrd

#717 solved the issue. Please close this PR.

dan5py avatar Jun 27 '23 14:06 dan5py