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

@@ -347,7 +347,7 @@ onUnmounted(() => {
:is="FieldComponent"
ref="fieldComponentRef"
:class="{
'border-destructive hover:border-destructive/80 focus:border-destructive focus:shadow-[0_0_0_calc(var(--spacing)*0.5)_rgba(255,38,5,0.06)]':
'border-destructive hover:border-destructive/80 focus:border-destructive focus:shadow-[0_0_0_2px_rgba(255,38,5,0.06)]':
isInValid,
}"
v-bind="createComponentProps(slotProps)"