@homebound/beam 2.101.0 → 2.101.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -247,6 +247,8 @@ function renderDiv(style, id, columns, headerRows, filteredRows, firstRowMessage
|
|
|
247
247
|
*/
|
|
248
248
|
const firstNonHeaderRowIndex = (!isNestedCardStyleHeader ? 1 : 3) + 1;
|
|
249
249
|
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ css: {
|
|
250
|
+
// Ensure all rows extend the same width
|
|
251
|
+
...Css_1.Css.mw("fit-content").$,
|
|
250
252
|
/*
|
|
251
253
|
Using n + (firstNonHeaderRowIndex + 1) here to target all rows that
|
|
252
254
|
are after the first non-header row. Since n starts at 0, we can use
|
|
@@ -358,7 +360,7 @@ const VirtualRoot = (0, memoize_one_1.default)((gs, _columns, id, _firstLastColu
|
|
|
358
360
|
// table list generally has styles to scroll the page for windowing.
|
|
359
361
|
const isHeader = Object.keys(style || {}).length === 0;
|
|
360
362
|
// This re-renders each time we have new children in the viewport
|
|
361
|
-
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ ref: ref, style: { ...style, ...
|
|
363
|
+
return ((0, jsx_runtime_1.jsx)("div", Object.assign({ ref: ref, style: { ...style, ...{ minWidth: "fit-content" } }, css: {
|
|
362
364
|
// Add an extra `> div` due to Item + itemContent both having divs
|
|
363
365
|
...Css_1.Css.addIn("& > div + div > div > *", gs.betweenRowsCss || {}).$,
|
|
364
366
|
// Table list styles only
|