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 9854263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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,7 +92,7 @@ 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="my-auto !ml-0 w-0 overflow-visible before:hidden before:group-hover:inline before:md:pl-2">
{href && (
<Link
href={href}
Expand Down

0 comments on commit 9854263

Please sign in to comment.