From 6a1c198c04dbf248bb0fcce1d8ed3e9d7a7af538 Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 16 Mar 2026 19:43:08 -0500 Subject: [PATCH] fix: org chart canvas fits viewport with import/export buttons Use flex layout so the canvas fills remaining space after the button bar, instead of a fixed viewport calc that didn't account for button height. Co-Authored-By: Paperclip Co-Authored-By: Claude Opus 4.6 --- ui/src/pages/OrgChart.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/pages/OrgChart.tsx b/ui/src/pages/OrgChart.tsx index 644bb322..9c12f818 100644 --- a/ui/src/pages/OrgChart.tsx +++ b/ui/src/pages/OrgChart.tsx @@ -268,8 +268,8 @@ export function OrgChart() { } return ( - <> -
+
+
- +
); }