Skip to content

Commit

Permalink
Adjust cell padding
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Apr 30, 2024
1 parent 869aeec commit 6566422
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/re_com/nested_grid.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -321,12 +321,12 @@
{:top 0
:cursor "col-resize"
:height "100%"
:width "20px"
:width "10px"
:right "-10px"})
(when (= :row dimension)
{:left 0
:cursor "row-resize"
:height "20px"
:height "10px"
:width "100%"
:bottom "-10px"}))}])))

Expand Down
4 changes: 2 additions & 2 deletions src/re_com/theme/default.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@
::nested-grid/cell-wrapper
{:style {:font-size sm-6
:background-color "white"
:padding sm-3
:padding (str sm-4 " " sm-3)
:text-align "right"
:border "0.5px solid #ccc"}}

::nested-grid/column-header-wrapper
{:style {:padding sm-3
{:style {:padding (str sm-4 " " sm-3)
:border (str sm-1 " solid " border)
:background-color light-neutral
:color dark
Expand Down

0 comments on commit 6566422

Please sign in to comment.