-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
4.2.3
Environment
vue3
Reproduction link
https://next.antdv.com/components/popover-cn
Steps to reproduce
a-config-provider组件的theme属性配置{token: {"borderRadius": 2}}
然后查看popover组件的圆角与arrow
What is expected?
期望统一一下borderRadius为2px还是数字2,渲染时,请修复为数字时后面缺失的px;或者为字符串时,其他属性的计算请修改一下
What is actually happening?
borderRadius配置为数字2后,以下样式的圆角缺失px ,:where(.css-dev-only-do-not-override-f0r9ql).ant-popover .ant-popover-inner{ border-radius: 2};
borderRadius配置为字符串2px后,arrow会丢失,会呈现以下clip-path: polygon(NaNpx 100%, 50% NaNpx, NaNpx 100%, NaNpx 100%);