From f3503a67f1bedf0d6b7d2ebfb4ffbbadc037274e Mon Sep 17 00:00:00 2001 From: Tassoman Date: Wed, 20 Sep 2023 18:47:47 +0000 Subject: [PATCH] added table styling to rich text markdown content statuses --- src/components/markup.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/components/markup.css b/src/components/markup.css index dd6d6eddc..185493d72 100644 --- a/src/components/markup.css +++ b/src/components/markup.css @@ -51,6 +51,18 @@ @apply py-1 pl-4 mb-4 border-l-4 border-solid border-gray-400 text-gray-500 dark:text-gray-400; } +[data-markup] table { + @apply table-auto w-full bg-gray-200 dark:bg-gray-900 my-4 rounded-md; +} + +[data-markup] table th, table td { + @apply text-center px-2; +} + +[data-markup] table th { + @apply border-b-2 border-gray-600; +} + [data-markup] code, [data-markup] pre { @apply cursor-text font-mono;