fix(slider): #7929 a-form组件在使用layout="inline"布局时,窗口缩小后表单项都挤在了一起,希望可以在一行容纳不下时增加上下间隙
使用 ant-form-item 的 margin-bottom: 24px,而不是直接设置为 0pull/7998/head
parent
45c7109212
commit
1a995b3609
|
@ -357,7 +357,6 @@ const genInlineStyle: GenerateStyle<FormToken> = token => {
|
||||||
flex: 'none',
|
flex: 'none',
|
||||||
flexWrap: 'nowrap',
|
flexWrap: 'nowrap',
|
||||||
marginInlineEnd: token.margin,
|
marginInlineEnd: token.margin,
|
||||||
marginBottom: 0,
|
|
||||||
|
|
||||||
'&-with-help': {
|
'&-with-help': {
|
||||||
marginBottom: token.marginLG,
|
marginBottom: token.marginLG,
|
||||||
|
|
Loading…
Reference in New Issue