mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
fix(Tree): align switcher icon of tree component. (#51181)
This commit is contained in:
parent
d74500b34c
commit
b8478e7e82
@ -245,6 +245,10 @@ export const genBaseStyle = (prefixCls: string, token: TreeToken): CSSObject =>
|
||||
cursor: 'pointer',
|
||||
userSelect: 'none',
|
||||
transition: `all ${token.motionDurationSlow}`,
|
||||
marginInlineEnd: token
|
||||
.calc(token.calc(titleHeight).sub(token.controlInteractiveSize))
|
||||
.div(2)
|
||||
.equal(),
|
||||
|
||||
'&-noop': {
|
||||
cursor: 'unset',
|
||||
|
Loading…
Reference in New Issue
Block a user