From eccf23eae376d3a5faff743c70c3e5b73afa405b Mon Sep 17 00:00:00 2001 From: Tassoman Date: Wed, 20 Sep 2023 17:34:33 +0000 Subject: [PATCH] adding tailwind styling for rich text markdown headings --- src/components/markup.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/components/markup.css b/src/components/markup.css index 48e292bcc..dd6d6eddc 100644 --- a/src/components/markup.css +++ b/src/components/markup.css @@ -2,6 +2,18 @@ @apply whitespace-pre-wrap; } +[data-markup] h1 { + @apply text-3xl font-semibold; +} + +[data-markup] h2 { + @apply text-2xl font-semibold; +} + +[data-markup] h3 { + @apply text-xl font-black; +} + [data-markup] p { @apply mb-4 whitespace-pre-wrap; }