From 53bba7a28f6030d6d0c39176ccdd6ad50823e03a Mon Sep 17 00:00:00 2001 From: Marc Lopez Date: Wed, 10 Apr 2024 14:31:03 +0200 Subject: [PATCH] Fix table text align --- src/styles.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/styles.js b/src/styles.js index a2f1820..e26608f 100644 --- a/src/styles.js +++ b/src/styles.js @@ -1587,7 +1587,6 @@ module.exports = { table: { width: '100%', tableLayout: 'auto', - textAlign: 'start', marginTop: em(32, 16), marginBottom: em(32, 16), }, @@ -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)',