You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Better way to prevent margin collapsing without using a padding on the capsized element. based on @michaeltaranto's findings in this issue that's not yet implemented in their Capsize.
Now, you can use padding classes on the capsized element:
<asrc="#" class="capsize font-sans text-xl leading-tight px-2 py-4">
Capsized Link with Padding
</a>
If you encountered any crossbrowser issue with the new prevent collapse implementation, you can reverse back to the original implementation with padding: