diff --git a/__tests__/fixtures/tailwind-output-flagged.css b/__tests__/fixtures/tailwind-output-flagged.css index d63ab6f73bf5..f1131d230d88 100644 --- a/__tests__/fixtures/tailwind-output-flagged.css +++ b/__tests__/fixtures/tailwind-output-flagged.css @@ -10804,6 +10804,10 @@ video { display: table; } +.inline-table { + display: inline-table; +} + .table-caption { display: table-caption; } @@ -39400,6 +39404,10 @@ video { display: table; } + .sm\:inline-table { + display: inline-table; + } + .sm\:table-caption { display: table-caption; } @@ -67953,6 +67961,10 @@ video { display: table; } + .md\:inline-table { + display: inline-table; + } + .md\:table-caption { display: table-caption; } @@ -96506,6 +96518,10 @@ video { display: table; } + .lg\:inline-table { + display: inline-table; + } + .lg\:table-caption { display: table-caption; } @@ -125059,6 +125075,10 @@ video { display: table; } + .xl\:inline-table { + display: inline-table; + } + .xl\:table-caption { display: table-caption; } @@ -153612,6 +153632,10 @@ video { display: table; } + .\32xl\:inline-table { + display: inline-table; + } + .\32xl\:table-caption { display: table-caption; } diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index 628fa8f9ac7f..f3b3b1ee9c70 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -10804,6 +10804,10 @@ video { display: table !important; } +.inline-table { + display: inline-table !important; +} + .table-caption { display: table-caption !important; } @@ -39400,6 +39404,10 @@ video { display: table !important; } + .sm\:inline-table { + display: inline-table !important; + } + .sm\:table-caption { display: table-caption !important; } @@ -67953,6 +67961,10 @@ video { display: table !important; } + .md\:inline-table { + display: inline-table !important; + } + .md\:table-caption { display: table-caption !important; } @@ -96506,6 +96518,10 @@ video { display: table !important; } + .lg\:inline-table { + display: inline-table !important; + } + .lg\:table-caption { display: table-caption !important; } @@ -125059,6 +125075,10 @@ video { display: table !important; } + .xl\:inline-table { + display: inline-table !important; + } + .xl\:table-caption { display: table-caption !important; } @@ -153612,6 +153632,10 @@ video { display: table !important; } + .\32xl\:inline-table { + display: inline-table !important; + } + .\32xl\:table-caption { display: table-caption !important; } diff --git a/__tests__/fixtures/tailwind-output-no-color-opacity.css b/__tests__/fixtures/tailwind-output-no-color-opacity.css index f71b618a8c6a..6c7e5be20a1e 100644 --- a/__tests__/fixtures/tailwind-output-no-color-opacity.css +++ b/__tests__/fixtures/tailwind-output-no-color-opacity.css @@ -9242,6 +9242,10 @@ video { display: table; } +.inline-table { + display: inline-table; +} + .table-caption { display: table-caption; } @@ -35282,6 +35286,10 @@ video { display: table; } + .sm\:inline-table { + display: inline-table; + } + .sm\:table-caption { display: table-caption; } @@ -61279,6 +61287,10 @@ video { display: table; } + .md\:inline-table { + display: inline-table; + } + .md\:table-caption { display: table-caption; } @@ -87276,6 +87288,10 @@ video { display: table; } + .lg\:inline-table { + display: inline-table; + } + .lg\:table-caption { display: table-caption; } @@ -113273,6 +113289,10 @@ video { display: table; } + .xl\:inline-table { + display: inline-table; + } + .xl\:table-caption { display: table-caption; } @@ -139270,6 +139290,10 @@ video { display: table; } + .\32xl\:inline-table { + display: inline-table; + } + .\32xl\:table-caption { display: table-caption; } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index d63ab6f73bf5..f1131d230d88 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -10804,6 +10804,10 @@ video { display: table; } +.inline-table { + display: inline-table; +} + .table-caption { display: table-caption; } @@ -39400,6 +39404,10 @@ video { display: table; } + .sm\:inline-table { + display: inline-table; + } + .sm\:table-caption { display: table-caption; } @@ -67953,6 +67961,10 @@ video { display: table; } + .md\:inline-table { + display: inline-table; + } + .md\:table-caption { display: table-caption; } @@ -96506,6 +96518,10 @@ video { display: table; } + .lg\:inline-table { + display: inline-table; + } + .lg\:table-caption { display: table-caption; } @@ -125059,6 +125075,10 @@ video { display: table; } + .xl\:inline-table { + display: inline-table; + } + .xl\:table-caption { display: table-caption; } @@ -153612,6 +153632,10 @@ video { display: table; } + .\32xl\:inline-table { + display: inline-table; + } + .\32xl\:table-caption { display: table-caption; } diff --git a/src/plugins/display.js b/src/plugins/display.js index 18d27772158a..c29e6528b0c4 100644 --- a/src/plugins/display.js +++ b/src/plugins/display.js @@ -20,6 +20,9 @@ export default function () { '.table': { display: 'table', }, + '.inline-table': { + display: 'inline-table', + }, '.table-caption': { display: 'table-caption', },