From e5cb17dd2c378758bca4d200e9e9e373d7082813 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Thu, 26 Dec 2024 19:05:19 +0800 Subject: [PATCH] fix(mobile): do not show toc in doc peekview --- .../peek-view/view/doc-preview/doc-peek-view.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx b/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx index 6cba72caee78f..4721a724ad8ac 100644 --- a/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx +++ b/packages/frontend/core/src/modules/peek-view/view/doc-preview/doc-peek-view.tsx @@ -157,13 +157,15 @@ function DocPeekPreviewEditor({ defaultOpenProperty={defaultOpenProperty} /> - + g - + {!BUILD_CONFIG.isMobileEdition && !BUILD_CONFIG.isMobileWeb ? ( + + ) : null} ); }