From a9fa9df7deb53f02d19676e9cd6b21c280da4dd9 Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Sat, 14 Dec 2024 23:44:02 +0800 Subject: [PATCH] chore: rm useless token.calc (#52015) --- components/modal/style/confirm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/modal/style/confirm.ts b/components/modal/style/confirm.ts index 874d11e4fe..6a1e3b6a53 100644 --- a/components/modal/style/confirm.ts +++ b/components/modal/style/confirm.ts @@ -67,7 +67,7 @@ const genModalConfirmStyle: GenerateStyle = (token) => { flex: 'auto', rowGap: token.marginXS, // https://github.com/ant-design/ant-design/issues/51912 - maxWidth: `calc(100% - ${unit(token.calc(token.marginSM).equal())})`, + maxWidth: `calc(100% - ${unit(token.marginSM)})`, }, // https://github.com/ant-design/ant-design/issues/48159