Skip to content

Commit

Permalink
feat(contented-preview): add table-auto and table-fixed support (#550)
Browse files Browse the repository at this point in the history
<!--  Thanks for sending a pull request! -->

#### What this PR does / why we need it:

As per title.
  • Loading branch information
fuxingloh authored Aug 8, 2023
1 parent 6825cba commit 2c5c5b2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/contented-preview/src/styles/prose.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,13 @@
@apply border-slate-200/70 bg-slate-100/70 text-slate-800;
@apply dark:border-slate-700/70 dark:bg-slate-800/70 dark:text-slate-200;
}

.prose .table-auto table {
display: table;
table-layout: auto;
}

.prose .table-fixed table {
display: table;
table-layout: fixed;
}

0 comments on commit 2c5c5b2

Please sign in to comment.