Skip to content

Commit

Permalink
DOP-4839: use same buffer for target links (#1184)
Browse files Browse the repository at this point in the history
  • Loading branch information
seungpark authored Aug 1, 2024
1 parent dae3136 commit 0065fd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Target.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const DescriptionTerm = ({ children, html_id, ...rest }) => {
{children.map((child, j) => (
<ComponentFactory key={j} {...rest} nodeData={child} />
))}
<Permalink id={html_id} description="definition" buffer="-150px" />
<Permalink id={html_id} description="definition" />
</dt>
);
};
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/__snapshots__/Target.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ a .emotion-0 {
}
.emotion-3 {
margin-top: -150px;
margin-top: -175px;
position: absolute;
padding-bottom: 2px;
}
Expand Down

0 comments on commit 0065fd1

Please sign in to comment.