Skip to content

Commit

Permalink
fix: rm useless form inline style (ant-design#44375)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo837 committed Aug 24, 2023
1 parent 4cf3ba1 commit a3bd7a7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions components/form/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`]: {
Expand All @@ -423,10 +423,6 @@ const genInlineStyle: GenerateStyle<FormToken> = (token) => {
flexWrap: 'nowrap',
},

'&-with-help': {
marginBottom: itemMarginBottom,
},

[`> ${formItemCls}-label,
> ${formItemCls}-control`]: {
display: 'inline-block',
Expand Down

0 comments on commit a3bd7a7

Please sign in to comment.