refactor: replace px calc spacing utilities

This commit is contained in:
xingyu4j
2026-03-14 18:31:35 +08:00
parent 2823848fae
commit f25f3a34d0
6 changed files with 18 additions and 17 deletions

View File

@@ -209,7 +209,7 @@ onBeforeUnmount(() => {
is(rootMenu.theme, true),
opened ? '' : 'hidden',
'overflow-auto',
'max-h-[calc(var(--reka-hover-card-content-available-height)-20px)]',
'max-h-[calc(var(--reka-hover-card-content-available-height)-calc(var(--spacing)*5))]',
mode === 'horizontal' ? 'is-horizontal' : '',
]"
:content-props="contentProps"