Web: Components: Added abbreviation of a long name in the tree.

This commit is contained in:
Tatiana Lopaeva 2022-04-15 11:23:20 +03:00
parent dc39d3a83f
commit eecb160b2d

View File

@ -182,7 +182,8 @@ const TreeNodeMenu = styled(TreeNode)`
padding: 0;
}
.rc-tree-node-content-wrapper {
width: ${(props) => (props.disableSwitch ? "90%" : "108%")};
// width: ${(props) => (props.disableSwitch ? "90%" : "108%")};
width: calc(100% - 16px);
display: inline-block;
position: relative;
z-index: 2;