@pagamio/frontend-commons-lib 0.8.317 → 0.8.318
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.
|
@@ -34,7 +34,10 @@ export function getDefaultTableOptions() {
|
|
|
34
34
|
style: {
|
|
35
35
|
border: 'transparent',
|
|
36
36
|
borderRadius: '4px',
|
|
37
|
-
|
|
37
|
+
// Allow horizontal scrolling when the table genuinely doesn't fit
|
|
38
|
+
// (e.g. side drawer open, narrow viewport). The width: 100% on the
|
|
39
|
+
// table itself keeps it from scrolling unnecessarily.
|
|
40
|
+
overflowX: 'auto',
|
|
38
41
|
},
|
|
39
42
|
},
|
|
40
43
|
mantineTableProps: {
|
|
@@ -239,7 +239,10 @@ const PagamioTable = ({ columns, data, isLoading = false, rowCount, sorting, pag
|
|
|
239
239
|
style: {
|
|
240
240
|
border: 'transparent',
|
|
241
241
|
borderRadius: '4px',
|
|
242
|
-
|
|
242
|
+
// Scroll horizontally when content can't fit (e.g. a side drawer
|
|
243
|
+
// is open). With table width: 100% this is a no-op for normal
|
|
244
|
+
// page widths.
|
|
245
|
+
overflowX: 'auto',
|
|
243
246
|
},
|
|
244
247
|
},
|
|
245
248
|
mantineTableProps: defaults.mantineTableProps,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagamio/frontend-commons-lib",
|
|
3
3
|
"description": "Pagamio library for Frontend reusable components like the form engine and table container",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.318",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"provenance": false
|