Skip to content

Commit

Permalink
Fix table text align (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
lopez-marc authored Aug 7, 2024
1 parent 2745585 commit 815dfc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,6 @@ module.exports = {
table: {
width: '100%',
tableLayout: 'auto',
textAlign: 'start',
marginTop: em(32, 16),
marginBottom: em(32, 16),
},
Expand Down Expand Up @@ -1617,6 +1616,9 @@ module.exports = {
'tfoot td': {
verticalAlign: 'top',
},
'th, td': {
textAlign: 'start',
},
'figure > *': {}, // Required to maintain correct order when merging
figcaption: {
color: 'var(--tw-prose-captions)',
Expand Down

0 comments on commit 815dfc4

Please sign in to comment.