Skip to content

Commit

Permalink
fix(form): form field support moblie width best
Browse files Browse the repository at this point in the history
fix form field support moblie width best
  • Loading branch information
ghuan committed Aug 4, 2023
1 parent 450a823 commit 56ccc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form/src/BaseForm/BaseForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ function BaseForm<T = Record<string, any>, U = Record<string, any>>(
maxWidth: '100%',
'@media screen and (max-width: 575px)': {
// 减少了 form 的 padding
maxWidth: 'calc(100vw - 48px)',
maxWidth: 'calc(93vw - 48px)',
},
// 适用于短数字,短文本或者选项
'&-xs': {
Expand Down

0 comments on commit 56ccc63

Please sign in to comment.