Skip to content

Commit

Permalink
content based hash positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
heydoyouknowme0 committed Apr 26, 2024
1 parent bac50da commit 1cc1235
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default function Heading({
className={cn(
'group relative',
'my-4 sm:my-6 md:my-8 lg:my-10 xl:my-12',
'flex flex-nowrap items-center gap-2 sm:gap-3 md:gap-4',
'flex flex-nowrap items-center space-x-2 sm:space-x-3 md:space-x-4',
className
)}
{...props}
Expand All @@ -92,11 +92,11 @@ export default function Heading({
<Comp className="my-auto min-w-fit">{text}</Comp>
{glyphDirection === 'ltr' && <Horses direction={glyphDirection} />}
{glyphDirection === 'dual' && <Elephants direction="ltr" />}
<Comp className="absolute left-full my-auto md:pl-2">
<Comp className="left-full my-auto !ml-0 w-0 overflow-visible">
{href && (
<Link
href={href}
className="hidden animate-in fade-in zoom-in hover:font-medium hover:text-neutral-800 group-hover:inline-block"
className="hidden animate-in fade-in zoom-in before:pl-2 hover:font-medium hover:text-neutral-800 group-hover:inline-block"
>
#
</Link>
Expand Down

0 comments on commit 1cc1235

Please sign in to comment.