fix: rm useless form inline style (#44375)

This commit is contained in:
Amumu 2023-08-24 10:47:02 +08:00 committed by GitHub
parent 4cf3ba1b00
commit a3bd7a797f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,7 +407,7 @@ const genHorizontalStyle: GenerateStyle<FormToken> = (token) => {
};
const genInlineStyle: GenerateStyle<FormToken> = (token) => {
const { componentCls, formItemCls, itemMarginBottom } = token;
const { componentCls, formItemCls } = token;
return {
[`${componentCls}-inline`]: {
@ -423,10 +423,6 @@ const genInlineStyle: GenerateStyle<FormToken> = (token) => {
flexWrap: 'nowrap',
},
'&-with-help': {
marginBottom: itemMarginBottom,
},
[`> ${formItemCls}-label,
> ${formItemCls}-control`]: {
display: 'inline-block',