mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Add min-content and max-content utilities for (min/max) height (#5729)
This commit is contained in:
parent
30b76cf472
commit
f2d2a0e3cd
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user