Skip to content

Releases: theMosaad/tailwindcss-capsize

v1.0.0

03 Feb 19:47
Compare
Choose a tag to compare

upgrade to work with tailwindv2

v0.5.0

04 Nov 13:48
Compare
Choose a tag to compare
  • add responsive as a default variant for capHeight and lineGap utilities 41f2ace

v0.4.3

30 Sep 02:51
Compare
Choose a tag to compare

Documentation:

Fixed link markup.

v0.4.2

30 Sep 02:37
Compare
Choose a tag to compare

Documentation

Updated TOC

v0.4.1

30 Sep 02:33
Compare
Choose a tag to compare

Fixed

.cap-height now works without the .capsize class when it's set.

Documentation

Added section to the latest features: cap-height and line-gap.

v0.4.0

26 Sep 22:51
Compare
Choose a tag to compare

New features

  • Added cap-height utility classes
  • Added line-gap utility classes
    Will update the readme soon.

v0.3.2

23 Sep 04:44
Compare
Choose a tag to compare

Fixed another incorrect defaultLineHeight value that was replaced with the fontSize value. I really need some tests 540c359

v0.3.1

23 Sep 03:45
Compare
Choose a tag to compare

Corrected defaultLineHeight value when using px. Was inheriting the fontSize px value.

v0.3.0

21 Sep 13:55
Compare
Choose a tag to compare

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,
    },
  },
}

v0.2.4

21 Sep 12:05
Compare
Choose a tag to compare
  • fix text-* classes not inheriting the rootLineHeightUnitless value 420246a