Add min-content and max-content utilities for (min/max) height (#5729)

This commit is contained in:
Luke Warlow 2021-10-07 14:13:50 +01:00 committed by GitHub
parent 30b76cf472
commit f2d2a0e3cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -504,6 +504,8 @@ module.exports = {
'5/6': '83.333333%',
full: '100%',
screen: '100vh',
min: 'min-content',
max: 'max-content',
fit: 'fit-content',
}),
inset: ({ theme }) => ({
@ -582,6 +584,8 @@ module.exports = {
...theme('spacing'),
full: '100%',
screen: '100vh',
min: 'min-content',
max: 'max-content',
fit: 'fit-content',
}),
maxWidth: ({ theme, breakpoints }) => ({
@ -609,6 +613,8 @@ module.exports = {
0: '0px',
full: '100%',
screen: '100vh',
min: 'min-content',
max: 'max-content',
fit: 'fit-content',
},
minWidth: {