Skip to content

Commit 5278c0c

Browse files
committed
fixup! Add extra gutter width on ReadonlyDocument
Pass extraGutterWidth to calculateShowMoreToggleOffset in document
1 parent 82a5c87 commit 5278c0c

File tree

1 file changed

+2
-1
lines changed
  • packages/compass-components/src/components/document-list

1 file changed

+2
-1
lines changed

packages/compass-components/src/components/document-list/document.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ const HadronDocument: React.FunctionComponent<{
120120
editable,
121121
level: 0,
122122
alignWithNestedExpandIcon: false,
123+
extraGutterWidth,
123124
}),
124-
[editable]
125+
[editable, extraGutterWidth]
125126
);
126127

127128
return (

0 commit comments

Comments
 (0)