Skip to content

Commit

Permalink
style: added uniform padding around the on this page header (#3249)
Browse files Browse the repository at this point in the history
Co-authored-by: Ansh Goyal <anshgoyal1704@gmail.com>
  • Loading branch information
ManasMalla and anshgoyalevil authored Nov 7, 2024
1 parent d9f5cdc commit 8ec5340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/TOC.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function TOC({ className, cssBreakingPoint = 'xl', toc, contentSe
return (
<div
className={twMerge(`${className} ${tocItems.length ? '' : 'hidden'}
${cssBreakingPoint === 'xl' ? 'xl:block' : 'lg:block'} md:top-24 md:max-h-(screen-14) z-20`)}
${cssBreakingPoint === 'xl' ? 'xl:block' : 'lg:block'} md:top-24 md:max-h-(screen-14) mb-4 z-20`)}
onClick={() => setOpen(!open)}
>
<div
Expand Down

0 comments on commit 8ec5340

Please sign in to comment.