Add styling for prose table and prose heading

This commit is contained in:
Sat Naing
2022-09-25 17:40:24 +06:30
parent 28ae4b2bde
commit 19ec6c87aa
+9 -1
View File
@@ -49,7 +49,15 @@
.prose {
@apply prose-a:underline-offset-8 prose-ul:overflow-x-clip
prose-a:!decoration-dashed hover:prose-a:text-skin-accent
prose-img:mx-auto prose-img:border-2 prose-img:border-skin-line;
prose-img:mx-auto prose-img:border-2 prose-img:border-skin-line
prose-headings:!mb-3
prose-th:border prose-th:border-skin-line
prose-td:border prose-td:border-skin-line;
}
.prose thead th:first-child,
tbody td:first-child,
tfoot td:first-child {
padding-left: 0.5714286em;
}
.theme-dark .prose {
@apply prose-invert;