mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
fix(tree): Draggable tree title is not aligned when the text is wrapped (#41928)
This commit is contained in:
parent
88a9ba3893
commit
3fcf9de2b6
@ -170,6 +170,8 @@ export const genBaseStyle = (prefixCls: string, token: TreeToken): CSSObject =>
|
||||
|
||||
'&-draggable': {
|
||||
[`${treeCls}-draggable-icon`]: {
|
||||
// https://github.com/ant-design/ant-design/issues/41915
|
||||
flexShrink: 0,
|
||||
width: treeTitleHeight,
|
||||
lineHeight: `${treeTitleHeight}px`,
|
||||
textAlign: 'center',
|
||||
|
Loading…
Reference in New Issue
Block a user