From 1b728a938b792d843bd5b6c3495f4f0857b5a3a8 Mon Sep 17 00:00:00 2001 From: siming Date: Tue, 3 Mar 2020 16:17:44 +0800 Subject: [PATCH] fix: li node isn't center --- src/components/ChartNode.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ChartNode.css b/src/components/ChartNode.css index 5cf2c62..99237e5 100644 --- a/src/components/ChartNode.css +++ b/src/components/ChartNode.css @@ -10,6 +10,7 @@ .orgchart ul li { display: inline-block; position: relative; + width: 100%; } /* excluding root node */