Skip to content

Commit 01ca03d

Browse files
authored
fix(docs page): resolved text centre on active (#146)
1 parent e18de2a commit 01ca03d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/guidespage/SubLinks.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,16 @@ const SubLinks: FC<SubLinksProps> = ({ fileList, onLinkClick }) => {
4343
<button
4444
type="button"
4545
onClick={() => handleClick(file.link)}
46-
className="capitalize outline-none"
46+
className="h-fit w-full text-start capitalize outline-none"
4747
>
4848
{beautify(file.name)}
4949
</button>
5050
) : (
51-
<Link href={file.link} onClick={() => handleClick(file.link)}>
51+
<Link
52+
href={file.link}
53+
onClick={() => handleClick(file.link)}
54+
className="h-fit w-fit text-start"
55+
>
5256
{beautify(file.name)}
5357
</Link>
5458
)}

0 commit comments

Comments
 (0)