Skip to content

Commit

Permalink
πŸ› Docs Title Styling Fix – Code Blocks (#2223)
Browse files Browse the repository at this point in the history
removed the flex styling and made the link portion (only) with flex properties. Added some bottom margin to raise it up as well.
  • Loading branch information
isaaclombardssw committed Sep 18, 2024
1 parent 0d5967a commit 217a923
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tinaMarkdownComponents/docAndBlogComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,9 @@ export const docAndBlogComponents: Components<{

return (
<HeadingTag id={id} className="relative cursor-pointer">
<a href={linkHref} className="no-underline flex items-center group">
<a href={linkHref} className="no-underline group">
{children}
<FiLink className="ml-2 opacity-0 group-hover:opacity-100 transition-opacity duration-200" />
<FiLink className="ml-2 opacity-0 group-hover:opacity-100 transition-opacity duration-200 inline-flex mb-2" />
</a>
</HeadingTag>
);
Expand Down

0 comments on commit 217a923

Please sign in to comment.