diff --git a/__tests__/fixtures/tailwind-output-ie11.css b/__tests__/fixtures/tailwind-output-ie11.css index 2ff31ec31..760a22cf8 100644 --- a/__tests__/fixtures/tailwind-output-ie11.css +++ b/__tests__/fixtures/tailwind-output-ie11.css @@ -10956,6 +10956,34 @@ video { } @media (min-width: 640px) { + .sm\:container { + width: 100%; + } + + @media (min-width: 640px) { + .sm\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .sm\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .sm\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .sm\:container { + max-width: 1280px; + } + } + .sm\:space-y-0 > :not(template) ~ :not(template) { margin-top: 0; } @@ -21308,6 +21336,34 @@ video { } @media (min-width: 768px) { + .md\:container { + width: 100%; + } + + @media (min-width: 640px) { + .md\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .md\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .md\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .md\:container { + max-width: 1280px; + } + } + .md\:space-y-0 > :not(template) ~ :not(template) { margin-top: 0; } @@ -31660,6 +31716,34 @@ video { } @media (min-width: 1024px) { + .lg\:container { + width: 100%; + } + + @media (min-width: 640px) { + .lg\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .lg\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .lg\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .lg\:container { + max-width: 1280px; + } + } + .lg\:space-y-0 > :not(template) ~ :not(template) { margin-top: 0; } @@ -42012,6 +42096,34 @@ video { } @media (min-width: 1280px) { + .xl\:container { + width: 100%; + } + + @media (min-width: 640px) { + .xl\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .xl\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .xl\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .xl\:container { + max-width: 1280px; + } + } + .xl\:space-y-0 > :not(template) ~ :not(template) { margin-top: 0; } diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index ed825c0a4..0949bc69e 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -14342,6 +14342,34 @@ video { } @media (min-width: 640px) { + .sm\:container { + width: 100%; + } + + @media (min-width: 640px) { + .sm\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .sm\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .sm\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .sm\:container { + max-width: 1280px; + } + } + .sm\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0 !important; margin-top: calc(0px * calc(1 - var(--space-y-reverse))) !important; @@ -28080,6 +28108,34 @@ video { } @media (min-width: 768px) { + .md\:container { + width: 100%; + } + + @media (min-width: 640px) { + .md\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .md\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .md\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .md\:container { + max-width: 1280px; + } + } + .md\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0 !important; margin-top: calc(0px * calc(1 - var(--space-y-reverse))) !important; @@ -41818,6 +41874,34 @@ video { } @media (min-width: 1024px) { + .lg\:container { + width: 100%; + } + + @media (min-width: 640px) { + .lg\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .lg\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .lg\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .lg\:container { + max-width: 1280px; + } + } + .lg\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0 !important; margin-top: calc(0px * calc(1 - var(--space-y-reverse))) !important; @@ -55556,6 +55640,34 @@ video { } @media (min-width: 1280px) { + .xl\:container { + width: 100%; + } + + @media (min-width: 640px) { + .xl\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .xl\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .xl\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .xl\:container { + max-width: 1280px; + } + } + .xl\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0 !important; margin-top: calc(0px * calc(1 - var(--space-y-reverse))) !important; diff --git a/__tests__/fixtures/tailwind-output-no-color-opacity.css b/__tests__/fixtures/tailwind-output-no-color-opacity.css index 059e6bc82..cc84a1b6e 100644 --- a/__tests__/fixtures/tailwind-output-no-color-opacity.css +++ b/__tests__/fixtures/tailwind-output-no-color-opacity.css @@ -11894,6 +11894,34 @@ video { } @media (min-width: 640px) { + .sm\:container { + width: 100%; + } + + @media (min-width: 640px) { + .sm\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .sm\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .sm\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .sm\:container { + max-width: 1280px; + } + } + .sm\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0; margin-top: calc(0px * calc(1 - var(--space-y-reverse))); @@ -23184,6 +23212,34 @@ video { } @media (min-width: 768px) { + .md\:container { + width: 100%; + } + + @media (min-width: 640px) { + .md\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .md\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .md\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .md\:container { + max-width: 1280px; + } + } + .md\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0; margin-top: calc(0px * calc(1 - var(--space-y-reverse))); @@ -34474,6 +34530,34 @@ video { } @media (min-width: 1024px) { + .lg\:container { + width: 100%; + } + + @media (min-width: 640px) { + .lg\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .lg\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .lg\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .lg\:container { + max-width: 1280px; + } + } + .lg\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0; margin-top: calc(0px * calc(1 - var(--space-y-reverse))); @@ -45764,6 +45848,34 @@ video { } @media (min-width: 1280px) { + .xl\:container { + width: 100%; + } + + @media (min-width: 640px) { + .xl\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .xl\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .xl\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .xl\:container { + max-width: 1280px; + } + } + .xl\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0; margin-top: calc(0px * calc(1 - var(--space-y-reverse))); diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index d76dd1e91..97596e0bc 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -14342,6 +14342,34 @@ video { } @media (min-width: 640px) { + .sm\:container { + width: 100%; + } + + @media (min-width: 640px) { + .sm\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .sm\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .sm\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .sm\:container { + max-width: 1280px; + } + } + .sm\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0; margin-top: calc(0px * calc(1 - var(--space-y-reverse))); @@ -28080,6 +28108,34 @@ video { } @media (min-width: 768px) { + .md\:container { + width: 100%; + } + + @media (min-width: 640px) { + .md\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .md\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .md\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .md\:container { + max-width: 1280px; + } + } + .md\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0; margin-top: calc(0px * calc(1 - var(--space-y-reverse))); @@ -41818,6 +41874,34 @@ video { } @media (min-width: 1024px) { + .lg\:container { + width: 100%; + } + + @media (min-width: 640px) { + .lg\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .lg\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .lg\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .lg\:container { + max-width: 1280px; + } + } + .lg\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0; margin-top: calc(0px * calc(1 - var(--space-y-reverse))); @@ -55556,6 +55640,34 @@ video { } @media (min-width: 1280px) { + .xl\:container { + width: 100%; + } + + @media (min-width: 640px) { + .xl\:container { + max-width: 640px; + } + } + + @media (min-width: 768px) { + .xl\:container { + max-width: 768px; + } + } + + @media (min-width: 1024px) { + .xl\:container { + max-width: 1024px; + } + } + + @media (min-width: 1280px) { + .xl\:container { + max-width: 1280px; + } + } + .xl\:space-y-0 > :not(template) ~ :not(template) { --space-y-reverse: 0; margin-top: calc(0px * calc(1 - var(--space-y-reverse))); diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index 27b93a403..bab7b16d4 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -643,6 +643,7 @@ module.exports = { borderWidth: ['responsive'], boxShadow: ['responsive', 'hover', 'focus'], boxSizing: ['responsive'], + container: ['responsive'], cursor: ['responsive'], display: ['responsive'], divideColor: ['responsive'],