Skip to content

Commit

Permalink
Reset th alignment & font weight
Browse files Browse the repository at this point in the history
  • Loading branch information
MartijnCuppens committed Dec 13, 2024
1 parent a39d036 commit d5e446d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
9 changes: 9 additions & 0 deletions packages/tailwindcss/preflight.css
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit d5e446d

Please sign in to comment.