diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2018-10-31 07:43:42 +0100 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2018-10-31 07:43:42 +0100 |
| commit | 260ac11c65d0ca0cb1ab72f56d5aaa9a1ac59e32 (patch) | |
| tree | 5081fa0d091641a020568722535ab1f5b3c162ac /htroot/env | |
| parent | 5a8d9abd8a014e7a0f47da57af396e0af35812c2 (diff) | |
Limit length of initially visible text in link structure graph nodes
To improve a bit readability of graphs having a large number of nodes.
Diffstat (limited to 'htroot/env')
| -rw-r--r-- | htroot/env/hypertree.css | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/htroot/env/hypertree.css b/htroot/env/hypertree.css index 5175180bf..50331d4a6 100644 --- a/htroot/env/hypertree.css +++ b/htroot/env/hypertree.css @@ -32,6 +32,22 @@ circle { } text { font: 9px sans-serif; - pointer-events: none; + cursor: default; text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff; } + +text tspan.truncated { + display: none; +} + +text:hover tspan.truncated { + display: inherit; +} + +text tspan.ellipsis { + display: inherit; +} + +text:hover tspan.ellipsis { + display: none; +} |
