Skip to content

Commit

Permalink
Add min, max, fit variants to tailwind theme (#285)
Browse files Browse the repository at this point in the history
Co-authored-by: Sascha Tandel <514405+sastan@users.noreply.github.com>
  • Loading branch information
IgnusG and sastan committed Feb 9, 2022
1 parent 131db42 commit 5819ce9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/old-yaks-grin.md
@@ -0,0 +1,5 @@
---
'@twind/preset-tailwind': patch
---

Add missing height properties max/min/fit-content
3 changes: 3 additions & 0 deletions packages/preset-tailwind/src/defaultTheme.ts
Expand Up @@ -456,6 +456,9 @@ const theme: DefaultTheme = {
// '3/6': '50%',
// '4/6': '66.666667%',
// '5/6': '83.333333%',
min: 'min-content',
max: 'max-content',
fit: 'fit-content',
auto: 'auto',
full: '100%',
screen: '100vh',
Expand Down

0 comments on commit 5819ce9

Please sign in to comment.