Skip to content

Commit

Permalink
fixing text size
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaMajmudar committed May 24, 2024
1 parent 6c06644 commit d9051d3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/StyledMarkdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ export function TableOfContentMarkdown({
return (
<a
href={`#${slug}`}
className='block cursor-pointer mb-3 text-sm leading-4 ml-[-0.40rem] font-bold'
className='block cursor-pointer mb-3 max-sm:text-sm text-base leading-4 ml-[-0.40rem] font-bold'
>
<span className='mr-1 text-blue-400 text-[1.5em]'>
&#9679;
Expand All @@ -546,7 +546,7 @@ export function TableOfContentMarkdown({
return (
<a
href={`#${slug}`}
className='block cursor-pointer mb-3 text-sm leading-4 -ml-[7px] font-bold'
className='block cursor-pointer mb-3 max-sm:text-sm text-base leading-4 -ml-[7px] font-bold'
>
<span className='mr-1 text-blue-400 text-[1em]'>&#9679;</span>
{children}
Expand All @@ -563,9 +563,9 @@ export function TableOfContentMarkdown({
return (
<a
href={`#${slug}`}
className='flex flex-row items-center cursor-pointer mb-3 text-sm leading-4 ml-[-0.15rem]'
className='flex flex-row items-center cursor-pointer mb-3 max-sm:text-sm text-base leading-4 ml-[-0.15rem]'
>
<span className='text-blue-400 text-[0.29em] ml-1'>
<span className='text-blue-400 text-[0.29em] ml-1 max-sm:w-[18px]'>
&#9679; &#9679; &#9679; &#9679;
</span>
<span className='mr-1 text-blue-400 text-[0.75em]'>
Expand All @@ -586,9 +586,9 @@ export function TableOfContentMarkdown({
return (
<a
href={`#${slug}`}
className='flex flex-row items-center cursor-pointer mb-3 text-sm leading-4 ml-[-0.15rem] '
className='flex flex-row items-center cursor-pointer mb-3 max-sm:text-sm text-base leading-4 ml-[-0.15rem]'
>
<span className='text-blue-400 text-[0.35em] ml-1'>
<span className='text-blue-400 text-[0.35em] ml-1 max-sm:w-[60px]'>
&#9679; &#9679; &#9679; &#9679; &#9679; &#9679;
&#9679; &#9679; &#9679; &#9679; &#9679;
</span>
Expand Down

0 comments on commit d9051d3

Please sign in to comment.