fix: Shared document root node alignment (#10808)

closes #10800
This commit is contained in:
Tom Moor authored and GitHub committed 2025-12-06 01:09:30 +00:00
1 parent 5b3d6c3535
commit d795e78b79
1 file changed
+2 -1
+2 -1
View File
@@ -88,7 +88,8 @@ function SharedSidebar({ share }: Props) {
) : (
<SharedDocumentLink
index={0}
depth={0}
// If the root node has an icon we need some extra space for it
depth={rootNode.icon ? 1 : 0}
shareId={shareId}
node={rootNode}
prefetchDocument={documents.prefetchDocument}