Web: Components: Removed abbreviations of folder names in the tree, if the width of article allows.

This commit is contained in:
Tatiana Lopaeva 2021-09-21 16:15:31 +03:00
parent 7549ba691c
commit 454eb34dd5
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ const StyledTreeMenu = styled(Tree)`
`}
& .rc-tree-node-selected .rc-tree-title {
${(props) => !props.isFullFillSelection && "width: 85%;"}
${(props) => !props.isFullFillSelection && "width: calc(100% - 26px);"}
}
&:not(.rc-tree-show-line) .rc-tree-switcher-noop {

View File

@ -121,7 +121,7 @@ const TreeNodeMenu = styled(TreeNode)`
${NoUserSelect}
.rc-tree-node-selected {
max-width: ${(props) => (props.newItems > 999 ? "71%" : "98%")} !important;
max-width: ${(props) => (props.newItems > 999 ? "71%" : "102%")} !important;
}
${(props) =>