From 5d503cc20ef13c5860075991f528cdc68d8122c2 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 27 Dec 2019 07:16:57 -0500 Subject: [PATCH 1/2] Add max-w-none --- stubs/defaultConfig.stub.js | 1 + 1 file changed, 1 insertion(+) diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index 5db3f8c8e..ea2ed7103 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -302,6 +302,7 @@ module.exports = { screen: '100vh', }, maxWidth: { + none: 'none', xs: '20rem', sm: '24rem', md: '28rem', From de5c786abeed217f51afc2ec96807b065fd69ead Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 27 Dec 2019 07:17:17 -0500 Subject: [PATCH 2/2] Rebuild fixtures --- .../fixtures/tailwind-output-important.css | 20 +++++++++++++++++++ __tests__/fixtures/tailwind-output.css | 20 +++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index ba42c8d8d..14eb3e022 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -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; } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 05a1c8b4f..7421d2806 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -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; }