This commit is contained in:
natib21
2026-06-20 06:51:03 +00:00
parent 8487ad3a61
commit 96abf6ed98

View File

@@ -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}