From f0beb2342187d369a736b6b9ffbd85c6960111b8 Mon Sep 17 00:00:00 2001 From: Kimo Knowles Date: Thu, 5 Sep 2024 01:00:22 +0200 Subject: [PATCH] [nested-grid] Fix cell borders --- CHANGELOG.md | 4 ++++ src/re_com/theme/default.cljs | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c346691..937d65ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/re_com/theme/default.cljs b/src/re_com/theme/default.cljs index 93a3405f..e6396405 100644 --- a/src/re_com/theme/default.cljs +++ b/src/re_com/theme/default.cljs @@ -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}] @@ -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")}))))