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 9b32f85
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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
5 changes: 4 additions & 1 deletion src/re_com/nested_grid.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,10 @@
(when value {:value value})
state)]]
(u/part cell-wrapper
(merge props {:children [(u/part cell cell-props :default re-com.nested-grid/cell)]})
(themed ::cell-wrapper
(-> props
(merge {:children [(u/part cell cell-props
:default re-com.nested-grid/cell)]})))
: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 9b32f85

Please sign in to comment.