style: inline mode form overlap elements on the small screen (#45340)

This commit is contained in:
JiaQi 2023-10-17 15:20:42 +08:00 committed by GitHub
parent 8cb26a6007
commit fc5abff7d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -472,7 +472,8 @@ const makeVerticalLayout = (token: FormToken): CSSObject => {
return {
[`${formItemCls} ${formItemCls}-label`]: makeVerticalLayoutLabel(token),
[componentCls]: {
// ref: https://github.com/ant-design/ant-design/issues/45122
[`${componentCls}:not(${componentCls}-inline)`]: {
[formItemCls]: {
flexWrap: 'wrap',