From 19ec6c87aa7859b811f04a74f5db96ba6a57511e Mon Sep 17 00:00:00 2001 From: Sat Naing Date: Sun, 25 Sep 2022 17:40:24 +0630 Subject: [PATCH] Add styling for prose table and prose heading --- src/styles/base.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/styles/base.css b/src/styles/base.css index 50ebbcc..9421209 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -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;