@portnet/ui 0.1.35 → 0.1.37
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.
|
@@ -187,9 +187,25 @@ const PuiSearchPage = _ref2 => {
|
|
|
187
187
|
children: _children
|
|
188
188
|
})
|
|
189
189
|
})
|
|
190
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTable.default, _objectSpread({
|
|
190
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_PuiTable.default, _objectSpread(_objectSpread({
|
|
191
191
|
paginationMode: "server"
|
|
192
|
-
}, tableProps)
|
|
192
|
+
}, tableProps), {}, {
|
|
193
|
+
sx: {
|
|
194
|
+
'& .MuiDataGrid-columnHeaders': {
|
|
195
|
+
backgroundColor: '#f5f5f5',
|
|
196
|
+
// Light gray background
|
|
197
|
+
fontWeight: 'bold',
|
|
198
|
+
textAlign: 'center',
|
|
199
|
+
padding: '10px 15px'
|
|
200
|
+
},
|
|
201
|
+
'& .MuiDataGrid-cell': {
|
|
202
|
+
padding: '8px 12px' // Adds padding for cells
|
|
203
|
+
},
|
|
204
|
+
'& .numeric-cell': {
|
|
205
|
+
textAlign: 'right' // Aligns numeric values to the right
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}))]
|
|
193
209
|
});
|
|
194
210
|
};
|
|
195
211
|
PuiSearchPage.propTypes = {
|