chore: minus css var (#10153)

This commit is contained in:
neverland 2022-01-06 11:23:59 +08:00 committed by GitHub
parent 3317fcbb0c
commit eab5792153
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@
border-top-color: currentColor;
border-bottom-width: 0;
transform: translate(-50%, 0%);
margin-bottom: calc(0px - var(--van-popover-arrow-size));
margin-bottom: calc(var(--van-popover-arrow-size) * -1);
}
}
@ -118,7 +118,7 @@
border-right-width: 0;
border-left-color: currentColor;
transform: translate(0%, -50%);
margin-right: calc(0px - var(--van-popover-arrow-size));
margin-right: calc(var(--van-popover-arrow-size) * -1);
}
}
@ -152,7 +152,7 @@
border-right-color: currentColor;
border-left-width: 0;
transform: translate(0%, -50%);
margin-left: calc(0px - var(--van-popover-arrow-size));
margin-left: calc(var(--van-popover-arrow-size) * -1);
}
}
@ -186,7 +186,7 @@
border-top-width: 0;
border-bottom-color: currentColor;
transform: translate(-50%, 0%);
margin-top: calc(0px - var(--van-popover-arrow-size));
margin-top: calc(var(--van-popover-arrow-size) * -1);
}
}