From 56ccc63ef0ef1ddcd457782555d91134bcbec6e6 Mon Sep 17 00:00:00 2001 From: Huan Gao <2223486623@qq.com> Date: Fri, 4 Aug 2023 14:50:34 +0800 Subject: [PATCH] fix(form): form field support moblie width best fix form field support moblie width best --- packages/form/src/BaseForm/BaseForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/form/src/BaseForm/BaseForm.tsx b/packages/form/src/BaseForm/BaseForm.tsx index af4d7854e372..2ad827dad097 100644 --- a/packages/form/src/BaseForm/BaseForm.tsx +++ b/packages/form/src/BaseForm/BaseForm.tsx @@ -553,7 +553,7 @@ function BaseForm, U = Record>( maxWidth: '100%', '@media screen and (max-width: 575px)': { // 减少了 form 的 padding - maxWidth: 'calc(100vw - 48px)', + maxWidth: 'calc(93vw - 48px)', }, // 适用于短数字,短文本或者选项 '&-xs': {