revert: restore px-based calc utilities

This commit is contained in:
xingyu4j
2026-03-14 18:36:31 +08:00
parent f25f3a34d0
commit 8fd6bf47b1
5 changed files with 5 additions and 6 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)-calc(var(--spacing)*5))]',
'max-h-[calc(var(--reka-hover-card-content-available-height)-20px)]',
mode === 'horizontal' ? 'is-horizontal' : '',
]"
:content-props="contentProps"