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.
This commit is contained in:
EchoByte authored and GitHub committed 2025-01-10 16:31:57 +08:00
1 parent 49fc9b5412
commit d896996f27
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
]}
>