@coldsmirk/ledger-mantine 0.10.2 → 0.10.3

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.
package/dist/styles.css CHANGED
@@ -670,6 +670,19 @@
670
670
  --table-horizontal-spacing: var(--mantine-spacing-md);
671
671
  }
672
672
 
673
+ /* Full-width body cells (`colSpan` across every column) span the whole table when it overflows,
674
+ so their inner box sticks to the scrollport's start edge and caps at the visible viewport
675
+ width — an open detail panel and the infinite-loading line stay framed in view instead of
676
+ clipping off the trailing edge or scrolling out with the columns. When `--ledger-viewport-width`
677
+ is unset (before measurement, or in headless tests), `max-width` falls back to `none`. */
678
+ .ledger-detail-panel > [data-detail-content],
679
+ .ledger-loader-row-content {
680
+ position: sticky;
681
+ inset-inline-start: var(--table-horizontal-spacing, 0);
682
+ width: 100%;
683
+ max-width: max(0px, calc(var(--ledger-viewport-width) - 2 * var(--table-horizontal-spacing, 0px)));
684
+ }
685
+
673
686
  .ledger-footer-cell {
674
687
  font-weight: 600;
675
688
  background-color: var(--ledger-body-bg, var(--mantine-color-body));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coldsmirk/ledger-mantine",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Mantine-native <DataTable> on TanStack Table and TanStack Virtual: sorting, filtering, pagination, selection, pinning, inline editing, and adaptive row virtualization.",
5
5
  "keywords": [
6
6
  "data-table",