diff --git a/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap b/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap index cf0794ff2eed..9c3997a1657e 100644 --- a/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap +++ b/packages/@tailwindcss-postcss/src/__snapshots__/index.test.ts.snap @@ -460,6 +460,11 @@ exports[`\`@import 'tailwindcss'\` is replaced with the generated CSS 1`] = ` border-collapse: collapse; } + th { + text-align: inherit; + font-weight: inherit; + } + :-moz-focusring { outline: auto; } diff --git a/packages/tailwindcss/preflight.css b/packages/tailwindcss/preflight.css index a307c6d605ca..ae03e86ca54a 100644 --- a/packages/tailwindcss/preflight.css +++ b/packages/tailwindcss/preflight.css @@ -174,6 +174,15 @@ table { border-collapse: collapse; /* 3 */ } +/* + Remove default alignment and font-weight table header elements. +*/ + +th { + text-align: inherit; + font-weight: inherit; +} + /* Use the modern Firefox focus style for all focusable elements. */