From 815dfc4879ee54bf5e7d3cf5960f2acf6b85e303 Mon Sep 17 00:00:00 2001 From: Marc Lopez <78852823+lopez-marc@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:15:31 +0200 Subject: [PATCH] Fix table text align (#346) --- src/styles.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/styles.js b/src/styles.js index d9bf899..a4d6967 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)',