fix: align Code return and sidebar collapse in the top row

This commit is contained in:
鲨鱼辣椒 committed 2026-09-29 23:25:41 +08:00
1 parent dcaa7baacc
commit 163f262753
7 files changed
+58 -14

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ function ProductTitleBar({
onPointerEnter={sidebarPreviewTitlebarVisible ? () => handleSidebarPeekEnter('titlebar') : undefined}
onPointerLeave={sidebarPreviewTitlebarVisible ? () => handleSidebarPeekLeave('titlebar') : undefined}
/>
{typeof document !== 'undefined' ? createPortal(sidebarTogglePortal, document.body) : sidebarTogglePortal}
{(!workspaceLayout || sidebarCollapsed) && (typeof document !== 'undefined' ? createPortal(sidebarTogglePortal, document.body) : sidebarTogglePortal)}
</>
) : null}
{integrated ? (