Skip to content

Commit

Permalink
fix(docs page): resolved text centre on active (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
sboy99 authored Apr 7, 2023
1 parent e18de2a commit 01ca03d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/guidespage/SubLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,16 @@ const SubLinks: FC<SubLinksProps> = ({ fileList, onLinkClick }) => {
<button
type="button"
onClick={() => handleClick(file.link)}
className="capitalize outline-none"
className="h-fit w-full text-start capitalize outline-none"
>
{beautify(file.name)}
</button>
) : (
<Link href={file.link} onClick={() => handleClick(file.link)}>
<Link
href={file.link}
onClick={() => handleClick(file.link)}
className="h-fit w-fit text-start"
>
{beautify(file.name)}
</Link>
)}
Expand Down

1 comment on commit 01ca03d

@vercel
Copy link

@vercel vercel bot commented on 01ca03d Apr 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.