@portnet/ui 2.0.1 → 2.0.2

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.
@@ -471,7 +471,6 @@ const PuiTable = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
471
471
  return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
472
472
  style: {
473
473
  width: '100%',
474
- overflow: 'auto',
475
474
  position: 'relative'
476
475
  },
477
476
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledMuiTable, _objectSpread({
@@ -498,6 +497,23 @@ const PuiTable = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
498
497
  ["& .".concat(_xDataGrid.gridClasses.columnHeaderTitle)]: {
499
498
  overflow: 'visible',
500
499
  whiteSpace: 'normal'
500
+ },
501
+ // Ajuster les styles pour éviter le défilement horizontal
502
+ '& .MuiDataGrid-main': {
503
+ width: '100%',
504
+ overflow: 'visible'
505
+ },
506
+ '& .MuiDataGrid-virtualScroller': {
507
+ overflow: 'visible'
508
+ },
509
+ '& .MuiDataGrid-virtualScrollerRenderZone': {
510
+ width: '100%'
511
+ },
512
+ '& .MuiDataGrid-virtualScrollerContent': {
513
+ width: '100% !important' // Empêcher le contenu de dépasser la largeur
514
+ },
515
+ '& .MuiDataGrid-row': {
516
+ width: '100% !important'
501
517
  }
502
518
  },
503
519
  autoHeight: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portnet/ui",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Portnet UI",
5
5
  "keywords": [
6
6
  "react",