From 0c56b308f79aa8c3e5a398fa0978479deeb16378 Mon Sep 17 00:00:00 2001 From: Dhairya Majmudar <2022kuec2045@iiitkota.ac.in> Date: Fri, 24 May 2024 13:51:58 +0530 Subject: [PATCH] improving design --- components/StyledMarkdown.tsx | 37 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/components/StyledMarkdown.tsx b/components/StyledMarkdown.tsx index 84c6eefce..1ac998532 100644 --- a/components/StyledMarkdown.tsx +++ b/components/StyledMarkdown.tsx @@ -495,7 +495,7 @@ const StyledMarkdownBlock = ({ markdown }: { markdown: string }) => { const fullMarkdown = useContext(FullMarkdownContext); if (!fullMarkdown) return null; return ( -
+
- + {children} @@ -553,12 +550,7 @@ export function TableOfContentMarkdown({ font-bold hover:text-blue-500' > - - ● - + {children} ); @@ -573,9 +565,15 @@ export function TableOfContentMarkdown({ return ( - + + ● ● ● ● + + + ● + + {children} ); @@ -590,15 +588,16 @@ export function TableOfContentMarkdown({ return ( - - - — + + ● ● ● ● ● ● + ● ● ● ● ● - - — + + ● + {children} );