Skip to content

Commit

Permalink
[nested-grid] Fix responsive width
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Jun 3, 2024
1 parent bfbc55e commit 7627b68
Showing 1 changed file with 2 additions and 2 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 @@ -783,7 +783,8 @@
:background-color "white"
:width (if max-width
max-width
(px (apply + showing-column-widths)))}}
"1fr"
#_(px (apply + showing-column-widths)))}}
[:div {:style {:position :absolute
:right 0}}
(when show-export-button?
Expand Down Expand Up @@ -817,7 +818,6 @@
(reset! scroll-left (.-scrollLeft (.-target %))))
:style {:max-height max-height
:max-width max-width
:width "fit-content"
:display "grid"
:grid-template-columns (grid-template cell-grid-columns)
:grid-template-rows (grid-template cell-grid-rows)}})]
Expand Down

0 comments on commit 7627b68

Please sign in to comment.