Skip to content

Commit

Permalink
[nested-grid] Fix cell borders
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Sep 4, 2024
1 parent 67a745a commit f0beb23
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

> Committed but unreleased changes are put here, at the top. Older releases are detailed chronologically below.

#### Fixed
- `nested-grid` - Fixed missing cell borders

## 2.21.23 (2024-09-02)

#### Added
Expand Down
7 changes: 5 additions & 2 deletions src/re_com/theme/default.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@
:padding-right sm-3
:padding-left sm-3
:text-align :right
:border-right "thin solid #ccc"}))
:border-right "thin solid #ccc"
:border-bottom "thin solid #ccc"}))

(defmethod main ::nested-grid/cell-wrapper
[props {{:keys [edge value column-path]} :state}]
Expand All @@ -182,7 +183,9 @@
(contains? edge :column-section-right)
"thin solid #aaa"
(contains? edge :right)
"thin solid #aaa")
"thin solid #aaa"
:else
"thin solid #ccc")
:border-bottom (if (contains? edge :bottom)
"thin solid #aaa"
"thin solid #ccc")}))))
Expand Down

0 comments on commit f0beb23

Please sign in to comment.