Skip to content

Commit

Permalink
[nested-grid] Fix cell-wrapper styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Oct 3, 2024
1 parent e2a4403 commit bab563a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

> Committed but unreleased changes are put here, at the top. Older releases are detailed chronologically below.
## 2.22.4 (2024-10-03)

#### Fixed

- `nested-grid`: restored missing style for the cell-wrapper part


## 2.22.3 (2024-10-03)

#### Fixed
Expand Down
6 changes: 4 additions & 2 deletions src/re_com/nested_grid.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1047,9 +1047,11 @@
state)
cell-props (merge {:theme theme}
(when value {:value value})
state)]]
state)
children [(u/part cell cell-props
:default re-com.nested-grid/cell)]]]
(u/part cell-wrapper
(merge props {:children [(u/part cell cell-props :default re-com.nested-grid/cell)]})
(themed ::cell-wrapper (merge props {:children children}))
:default re-com.nested-grid/cell-wrapper)))
zebra-stripes (for [i (filter even? (range 1 (inc (count row-paths))))]
^{:key [::zebra-stripe i]}
Expand Down

0 comments on commit bab563a

Please sign in to comment.