Skip to content

Commit 815dfc4

Browse files
authored
Fix table text align (#346)
1 parent 2745585 commit 815dfc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/styles.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,6 @@ module.exports = {
15871587
table: {
15881588
width: '100%',
15891589
tableLayout: 'auto',
1590-
textAlign: 'start',
15911590
marginTop: em(32, 16),
15921591
marginBottom: em(32, 16),
15931592
},
@@ -1617,6 +1616,9 @@ module.exports = {
16171616
'tfoot td': {
16181617
verticalAlign: 'top',
16191618
},
1619+
'th, td': {
1620+
textAlign: 'start',
1621+
},
16201622
'figure > *': {}, // Required to maintain correct order when merging
16211623
figcaption: {
16221624
color: 'var(--tw-prose-captions)',

0 commit comments

Comments
 (0)