diff --git a/src/frontend/src/tables/InvenTreeTable.tsx b/src/frontend/src/tables/InvenTreeTable.tsx index 993080d46b..fc0395ffce 100644 --- a/src/frontend/src/tables/InvenTreeTable.tsx +++ b/src/frontend/src/tables/InvenTreeTable.tsx @@ -814,9 +814,9 @@ export function InvenTreeTableInternal>({ }, [tableProps.onCellClick, tableProps.onRowClick, tableProps.modelType]); // When sticky headers are enabled, we adjust the maximum viewport height, - // based on the number of records being displayed (up to a maximum of 60vh) + // based on the number of records being displayed (up to a maximum of 80vh) const autoHeight = useMemo(() => { - const rows = Math.max(10, Math.min(tableState.records.length, 60)); + const rows = Math.min(80, 6 * Math.max(tableState.records.length, 3)); return `${rows}vh`; }, [tableState.records]);