HyperPlay-Gaming / hyperplay-ui

HyperPlay UI kit package
https://hyperplay-ui.vercel.app
GNU Lesser General Public License v3.0
1 stars 0 forks source link

fix(collapse): make whole content clickable #364

Closed eliobricenov closed 2 months ago

eliobricenov commented 2 months ago

Currently the button doesn't have any padding, the container does and as a result clicking the padding in the container doesn't trigger the collapse action.

By moving the padding to the button we can achieve making the padding space clickable.

Story: https://hyperplay-ui-git-fix-collapse-clickable-area-hyperplay.vercel.app/?path=/docs/collapse--docs

vercel[bot] commented 2 months ago

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

Name Status Preview Updated (UTC)
hyperplay-ui ✅ Ready (Inspect) Visit Preview Aug 2, 2024 9:11pm