Skip to content

Commit f2d2a0e

Browse files
authored
Add min-content and max-content utilities for (min/max) height (tailwindlabs#5729)
1 parent 30b76cf commit f2d2a0e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stubs/defaultConfig.stub.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,8 @@ module.exports = {
504504
'5/6': '83.333333%',
505505
full: '100%',
506506
screen: '100vh',
507+
min: 'min-content',
508+
max: 'max-content',
507509
fit: 'fit-content',
508510
}),
509511
inset: ({ theme }) => ({
@@ -582,6 +584,8 @@ module.exports = {
582584
...theme('spacing'),
583585
full: '100%',
584586
screen: '100vh',
587+
min: 'min-content',
588+
max: 'max-content',
585589
fit: 'fit-content',
586590
}),
587591
maxWidth: ({ theme, breakpoints }) => ({
@@ -609,6 +613,8 @@ module.exports = {
609613
0: '0px',
610614
full: '100%',
611615
screen: '100vh',
616+
min: 'min-content',
617+
max: 'max-content',
612618
fit: 'fit-content',
613619
},
614620
minWidth: {

0 commit comments

Comments
 (0)