Skip to content

Commit 91256e5

Browse files
Remove unwanted movement on expanding ref section. (#996)
1 parent 804dfb0 commit 91256e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/documentation/common/DocumentationContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ const ContextualCollapse = ({
154154
return (
155155
<Collapse
156156
in={isExpanded}
157-
startingHeight={collapseToFirstLine ? "2.0625rem" : undefined}
157+
startingHeight={collapseToFirstLine ? "1.9725rem" : undefined}
158158
>
159159
<Stack spacing={3} pt={3} noOfLines={justFirstLine ? 1 : undefined}>
160160
<BlockContent blocks={children} serializers={serializers} />

0 commit comments

Comments
 (0)