mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 00:52:50 +00:00
fix
This commit is contained in:
@@ -215,6 +215,7 @@ const FleetResourcePage = () => {
|
||||
|
||||
const base: ColumnDef<FleetRecord>[] = config.columns.map((col) => ({
|
||||
id: col.id,
|
||||
accessorKey: col.accessorKey,
|
||||
header: col.header,
|
||||
size: col.size || 150,
|
||||
minSize: col.size ? Math.max(col.size - 20, 80) : 80,
|
||||
@@ -376,8 +377,8 @@ const FleetResourcePage = () => {
|
||||
</Box>
|
||||
|
||||
{viewMode === "table" ? (
|
||||
<Box style={{ overflowX: "auto", width: "100%", minWidth: 0 }}>
|
||||
<div style={{ minWidth: "max-content" }}>
|
||||
<Box style={{ overflowX: "auto", width: "100%", minWidth: 0, WebkitOverflowScrolling: "touch" }}>
|
||||
<div style={{ minWidth: "max-content", display: "inline-block", width: "100%" }}>
|
||||
<DataTable
|
||||
columns={columns}
|
||||
data={pagedRows}
|
||||
|
||||
Reference in New Issue
Block a user