Skip to content

Commit 6dd8476

Browse files
committed
[nested-grid] Fix responsive width
1 parent bfbc55e commit 6dd8476

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/re_com/nested_grid.cljs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,8 @@
783783
:background-color "white"
784784
:width (if max-width
785785
max-width
786-
(px (apply + showing-column-widths)))}}
786+
"1fr"
787+
#_(px (apply + showing-column-widths)))}}
787788
[:div {:style {:position :absolute
788789
:right 0}}
789790
(when show-export-button?
@@ -817,7 +818,6 @@
817818
(reset! scroll-left (.-scrollLeft (.-target %))))
818819
:style {:max-height max-height
819820
:max-width max-width
820-
:width "fit-content"
821821
:display "grid"
822822
:grid-template-columns (grid-template cell-grid-columns)
823823
:grid-template-rows (grid-template cell-grid-rows)}})]

0 commit comments

Comments
 (0)