From 4174335bee07bbe3401e8971bbcf7da52876d9a7 Mon Sep 17 00:00:00 2001 From: Kamil Tomsik Date: Wed, 20 Mar 2024 13:41:07 +0100 Subject: [PATCH] fix styling for markdown tables --- src/app/_components/Markdown.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/app/_components/Markdown.tsx b/src/app/_components/Markdown.tsx index cb7e851..b3c8430 100644 --- a/src/app/_components/Markdown.tsx +++ b/src/app/_components/Markdown.tsx @@ -34,6 +34,15 @@ const styles = css` @apply text-sm font(mono semibold); } + & table { + @apply w-full mb-4; + } + + & table th, + & table td { + @apply p-2 border(b-1 neutral-7); + } + & a { cursor: pointer; @apply text-blue-11;