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.
pull/657/MERGE
EchoByte 2025-01-10 16:31:57 +08:00 committed by GitHub
parent 49fc9b5412
commit d896996f27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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
}
]}
>