From 99fb64b74d0f99730449018a372f0d741ff800a1 Mon Sep 17 00:00:00 2001 From: Kimo Knowles Date: Fri, 15 Nov 2024 23:17:00 +0100 Subject: [PATCH] [nested-grid] Fix column header span derivation For https://github.com/day8/dash8.day8.com.au/issues/149 --- src/re_com/nested_grid.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/re_com/nested_grid.cljs b/src/re_com/nested_grid.cljs index 772a9867..89567f7d 100644 --- a/src/re_com/nested_grid.cljs +++ b/src/re_com/nested_grid.cljs @@ -930,11 +930,11 @@ ^{:key [::column (or path (gensym))]} [:div {:style {:grid-column-start (path->grid-line-name path) :grid-column-end (str "span " (cond-> path - :do (header-cross-span column-paths) + :do (header-cross-span showing-column-paths) (not show?) dec)) :grid-row-start (count path) :grid-row-end (str "span " (cond-> path - :do (header-main-span column-paths) + :do (header-main-span showing-column-paths) (not show?) dec)) :position "relative"}} (u/part column-header-wrapper