Commit 19f5fc3d authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[tree] fixes to subtree css

parent dd211c20
......@@ -63,4 +63,11 @@
opacity: var(--over50, 0);
}
#node-popup-tooltip .tree .node {
margin-top: 5px;
}
#node-popup-tooltip .tree .children .node {
padding-left: 15px;
}
/*# sourceMappingURL=Tree.css.map */
......@@ -60,3 +60,11 @@
&:after
opacity: var(--over50, 0)
#node-popup-tooltip
.tree
.node
margin-top: 5px
.children
.node
padding-left: 15px
......@@ -118,24 +118,25 @@ subTreeTreeViewCpt = R2.hooksComponent thisModule "subTreeTreeViewCpt" cpt
GT.LeftHanded -> A.reverse
GT.RightHanded -> identity
pure $ H.div {} $ (ordering [ H.div { className: "node " <> GT.fldr nodeType true} []
, H.span { style : if validNodeType
then { color : "blue"
, "text-decoration": "underline"
}
else { color : ""
, "text-decoration": "none"
}
, on: { click: onClick }
}
[ nodeText { isSelected: isSelected targetId valAction
, name: " " <> name
, handed
}
]
]
)
<> children
pure $ H.div {} $ ordering [
H.div { className: "node " <> GT.fldr nodeType true} [
H.span { style : if validNodeType then
{ color : "blue"
, "text-decoration": "underline"
}
else { color : ""
, "text-decoration": "none"
}
, on: { click: onClick }
} [
nodeText { isSelected: isSelected targetId valAction
, name: " " <> name
, handed
}
, H.span { className: "children" } children
]
]
]
where
SubTreeParams { valitypes } = subTreeParams
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment