Skip to content

Commit

Permalink
[nested-grid] Fix flex-item overflow behavior & empty-space props
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Oct 8, 2024
1 parent 267ccb5 commit d79c03e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/re_com/nested_grid.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1180,10 +1180,12 @@
[:div (themed ::wrapper
{:style (merge {:flex-direction :column}
(when-not sticky?
{:flex 1
:display :flex
:height :fit-content
:width :fit-content}))})
(merge {:flex 1
:display :flex}
(when remove-empty-column-space?
{:max-width :fit-content})
(when remove-empty-row-space?
{:max-height :fit-content}))))})
(when show-export-button? control-panel)
(conj
outer-grid-container
Expand Down

0 comments on commit d79c03e

Please sign in to comment.