Skip to content

Commit

Permalink
fixup! Add extra gutter width on ReadonlyDocument
Browse files Browse the repository at this point in the history
Pass extraGutterWidth to calculateShowMoreToggleOffset in document
  • Loading branch information
kraenhansen committed Nov 5, 2024
1 parent 82a5c87 commit 5278c0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ const HadronDocument: React.FunctionComponent<{
editable,
level: 0,
alignWithNestedExpandIcon: false,
extraGutterWidth,
}),
[editable]
[editable, extraGutterWidth]
);

return (
Expand Down

0 comments on commit 5278c0c

Please sign in to comment.