mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
fix: reset style when use custom Element (#52170)
This commit is contained in:
@@ -37,6 +37,8 @@ const genFlexStyle: GenerateStyle<FlexToken> = (token) => {
|
||||
return {
|
||||
[componentCls]: {
|
||||
display: 'flex',
|
||||
margin: 0,
|
||||
padding: 0,
|
||||
'&-vertical': {
|
||||
flexDirection: 'column',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user