Merge pull request #1283 from tailwindcss/max-width-none

Add max-w-none utility
This commit is contained in:
Adam Wathan 2019-12-27 07:55:25 -05:00 committed by GitHub
commit 6312c76a24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View File

@ -5009,6 +5009,10 @@ video {
max-height: 100vh !important;
}
.max-w-none {
max-width: none !important;
}
.max-w-xs {
max-width: 20rem !important;
}
@ -14279,6 +14283,10 @@ video {
max-height: 100vh !important;
}
.sm\:max-w-none {
max-width: none !important;
}
.sm\:max-w-xs {
max-width: 20rem !important;
}
@ -23550,6 +23558,10 @@ video {
max-height: 100vh !important;
}
.md\:max-w-none {
max-width: none !important;
}
.md\:max-w-xs {
max-width: 20rem !important;
}
@ -32821,6 +32833,10 @@ video {
max-height: 100vh !important;
}
.lg\:max-w-none {
max-width: none !important;
}
.lg\:max-w-xs {
max-width: 20rem !important;
}
@ -42092,6 +42108,10 @@ video {
max-height: 100vh !important;
}
.xl\:max-w-none {
max-width: none !important;
}
.xl\:max-w-xs {
max-width: 20rem !important;
}

View File

@ -5009,6 +5009,10 @@ video {
max-height: 100vh;
}
.max-w-none {
max-width: none;
}
.max-w-xs {
max-width: 20rem;
}
@ -14279,6 +14283,10 @@ video {
max-height: 100vh;
}
.sm\:max-w-none {
max-width: none;
}
.sm\:max-w-xs {
max-width: 20rem;
}
@ -23550,6 +23558,10 @@ video {
max-height: 100vh;
}
.md\:max-w-none {
max-width: none;
}
.md\:max-w-xs {
max-width: 20rem;
}
@ -32821,6 +32833,10 @@ video {
max-height: 100vh;
}
.lg\:max-w-none {
max-width: none;
}
.lg\:max-w-xs {
max-width: 20rem;
}
@ -42092,6 +42108,10 @@ video {
max-height: 100vh;
}
.xl\:max-w-none {
max-width: none;
}
.xl\:max-w-xs {
max-width: 20rem;
}

View File

@ -302,6 +302,7 @@ module.exports = {
screen: '100vh',
},
maxWidth: {
none: 'none',
xs: '20rem',
sm: '24rem',
md: '28rem',