Releases: theMosaad/tailwindcss-capsize
Releases · theMosaad/tailwindcss-capsize
v1.0.0
v0.5.0
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.2
v0.3.1
v0.3.0
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:
<a src="#" 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:
// tailwind.config.js
module.exports = {
theme: {
capsize: {
keepPadding: true,
},
},
}