From d896996f27b602a337f5e8c40c678580f50f16e7 Mon Sep 17 00:00:00 2001 From: EchoByte Date: Fri, 10 Jan 2025 16:31:57 +0800 Subject: [PATCH] fix: Update useRenderLayout.tsx add tagsView.value when rendertop if I set tagsview value `false` in app.ts initial. the content will have margin top style. --- src/layout/components/useRenderLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layout/components/useRenderLayout.tsx b/src/layout/components/useRenderLayout.tsx index 5cae84dc..a631aa06 100644 --- a/src/layout/components/useRenderLayout.tsx +++ b/src/layout/components/useRenderLayout.tsx @@ -197,7 +197,7 @@ export const useRenderLayout = () => { `${prefixCls}-content-scrollbar`, { '!h-[calc(100%-var(--tags-view-height))] mt-[calc(var(--tags-view-height))]': - fixedHeader.value + fixedHeader.value && tagsView.value } ]} >