Closed eliobricenov closed 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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
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