From a0c7776dc0f97c5ef6ba64e30d1f3cf2eb7c35d2 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 16 Jun 2020 16:34:34 +0200 Subject: Use className instead of setAttribute. Hide addChild button when node is collapsed. --- src/ws/munia.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/ws/munia.css') 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%; -- cgit v1.2.3