Skip to content

v2.3.5 🔮

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Sep 04:59
· 5 commits to refs/heads/master since this release

New Features 🚀

  • Refactor: add x, y direction for overflow property @danpacho (#117)

Add missing x, y directions for overflow property for adjust proper expected behavior of multiple overflow props

Because, tailwind allows us to write overflow classes like this.

<Box className="overflow-hidden overflow-x-auto overflow-y-scroll" />

Now, we can write it using tailwindest via new properties, overflowX and overflowY

const box = tw.style({
    overflow: "overflow-hidden",
    overflowX: "overflow-x-auto",
    overflowY: "overflow-y-scroll",
})

<Box className={box.class} />

Credits 🔮

Thank you @jbs-marcus!

Full Changelog: v2.3.4...v2.3.5