summaryrefslogtreecommitdiff
path: root/src/ws/munia.css
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-16 16:34:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-16 16:34:34 +0200
commita0c7776dc0f97c5ef6ba64e30d1f3cf2eb7c35d2 (patch)
treea015742f336cee6a2709eaa75467bb9f9953048f /src/ws/munia.css
parent1edbb7daaf5fc3b40eec0977eebbe371fea5f244 (diff)
Use className instead of setAttribute. Hide addChild button when node is collapsed.
Diffstat (limited to 'src/ws/munia.css')
-rw-r--r--src/ws/munia.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ws/munia.css b/src/ws/munia.css
index 6841731..db030d6 100644
--- a/src/ws/munia.css
+++ b/src/ws/munia.css
@@ -72,7 +72,7 @@ body
font-size: 1.1em;
background: transparent;
pointer-events: auto;
- min-width: 20em;
+ min-width: 15em;
width: 100%;
min-height: 1.1em;
padding-top: 0.4em;
@@ -169,6 +169,11 @@ body
width: unset;
}
+.collapsed .add_child
+{
+ display: none;
+}
+
.board
{
width: 48%;