Skip to content

Commit

Permalink
Use correct scroll margins for module input and output headings
Browse files Browse the repository at this point in the history
Signed-off-by: Damian Stasik <[email protected]>
  • Loading branch information
damianstasik committed Sep 5, 2024
1 parent c47105a commit 6ad146f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/ModuleInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function ModuleInput({
}: ModuleInputProps) {
return (
<li>
<h4 id={name} className="group scroll-mt-24">
<h4 id={name} className="group scroll-mt-5">
{name}{" "}
<code className="text-mono text-sm text-purple-700 dark:text-purple-300">
({type})
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ModuleOutput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface ModuleOutputProps {
export function ModuleOutput({ name, description }: ModuleOutputProps) {
return (
<li>
<h4 id={name} className="group scroll-mt-24">
<h4 id={name} className="group scroll-mt-5">
{name}
<HeadingLink id={name} label={`${name} output`} />
</h4>
Expand Down

0 comments on commit 6ad146f

Please sign in to comment.