Skip to content

Commit

Permalink
[nested-grid] Fix column header span derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Nov 15, 2024
1 parent c5d4989 commit 99fb64b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/re_com/nested_grid.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 99fb64b

Please sign in to comment.