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

View File

@ -197,7 +197,7 @@ export const useRenderLayout = () => {
`${prefixCls}-content-scrollbar`, `${prefixCls}-content-scrollbar`,
{ {
'!h-[calc(100%-var(--tags-view-height))] mt-[calc(var(--tags-view-height))]': '!h-[calc(100%-var(--tags-view-height))] mt-[calc(var(--tags-view-height))]':
fixedHeader.value fixedHeader.value && tagsView.value
} }
]} ]}
> >