mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 20:49:14 +08:00
fix: rm useless form inline style (#44375)
This commit is contained in:
parent
4cf3ba1b00
commit
a3bd7a797f
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user