Skip to content

Commit

Permalink
Broken sidebar bug fix (#1180)
Browse files Browse the repository at this point in the history
* Fix #1111 redirecting issue in Get Started

* Updated the previous PR fixing #1111

* Made some changes and fixed the issue #1111 with a modified PR

* Made some changes in the previous PR

* Fix #1172 Broken content list in sidebar

* Fixed the unrelated change and restored the code from the main codebase
  • Loading branch information
Utkarsh-123github authored Dec 20, 2024
1 parent f8bfd15 commit 490d750
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/StyledMarkdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,8 @@ export function TableOfContentMarkdown({
return (
<a
href={`#${slug}`}
className='block cursor-pointer mb-3 max-sm:text-sm text-slate-600 dark:text-slate-300 leading-4 ml-[-0.40rem] font-medium'
className='flex cursor-pointer mb-3 max-sm:text-sm text-slate-600 dark:text-slate-300 leading-6 font-medium'
>
<span className='mr-1 text-blue-400/90 text-[1em] flex justify-center items-center'>
&#9679;
</span>
{children}
</a>
);
Expand All @@ -572,7 +569,7 @@ export function TableOfContentMarkdown({
return (
<a
href={`#${slug}`}
className='block cursor-pointer mb-3 text-slate-600 dark:text-slate-300 leading-4 font-medium'
className='block cursor-pointer mb-3 text-slate-600 dark:text-slate-300 leading-5 font-medium ml-4'
>
{children}
</a>
Expand Down

0 comments on commit 490d750

Please sign in to comment.