Web: Components: fixed tree styles.

This commit is contained in:
Tatiana Lopaeva 2022-04-10 13:20:43 +03:00
parent 09e800c63e
commit c020aa7f7e

View File

@ -84,7 +84,7 @@ const StyledTreeMenu = styled(Tree)`
.rc-tree-child-tree-open {
display: block;
${(props) => props.disableSwitch && "margin: 0 0 25px 0;"}
margin-left: ${(props) => (props.disableSwitch ? "27px" : "8px")};
margin-left: ${(props) => (props.disableSwitch ? "27px" : "16px")};
li:first-child {
margin-top: ${(props) => (props.disableSwitch ? "10px" : "6px")};
margin-left: 0;