diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2021-01-27 14:33:22 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2021-01-27 14:41:09 +0000 |
| commit | 52f5c716fb09d0be315338703caf22c6261690ba (patch) | |
| tree | f98cea42d411c8fd48cca00c093401d797e44495 /src/ui.js | |
| parent | node collapsing (w/o relayouting) (diff) | |
| download | fedidag-52f5c716fb09d0be315338703caf22c6261690ba.tar.gz fedidag-52f5c716fb09d0be315338703caf22c6261690ba.zip | |
actually visually collapse nodes
Diffstat (limited to 'src/ui.js')
| -rw-r--r-- | src/ui.js | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -96,6 +96,17 @@ section > main { section.tombstone > main { font-family: inherit; } + +section.hidden { + display: none; +} + +section.collapsed { + width: auto; +} +section.collapsed > main { + display: none; +} `; const colors = new ColorHash({ lightness: 0.8 }); |
