Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harupy committed Dec 13, 2023
1 parent 28c30ac commit c8f42c0
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -328,13 +328,14 @@ function Anchored({
children: JSX.Element | JSX.Element[];
}): JSX.Element {
return (
<div
id={`${id}`}
style={{
scrollMarginTop: "var(--ifm-navbar-height)",
}}
>
<div style={{ textAlign: "center" }}>
<>
<div
id={`${id}`}
style={{
textAlign: "center",
scrollMarginTop: "var(--ifm-navbar-height)",
}}
>
<a
style={{
color: "var(--ifm-color-success)",
Expand All @@ -346,7 +347,7 @@ function Anchored({
</a>
</div>
{children}
</div>
</>
);
}

Expand Down

0 comments on commit c8f42c0

Please sign in to comment.