fix(frontend): restore responsive table height

Remove viewport-capped vertical scrolling so page size controls the rendered table height and page scrolling remains responsive.
This commit is contained in:
Sanaei
2026-08-15 18:13:10 +02:00
parent be70535b94
commit acbf09e710
4 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -1350,7 +1350,7 @@ export default function ClientsPage() {
rowSelection={rowSelection}
pagination={tablePagination}
size="small"
scroll={{ x: 1200, y: 'calc(100vh - 380px)' }}
scroll={{ x: 1200 }}
onChange={onTableChange}
locale={{
emptyText: (
+1 -2
View File
@@ -231,8 +231,7 @@ export default function HostList(props: HostListProps) {
columns={columns}
dataSource={sorted}
pagination={false}
scroll={{ x: 'max-content', y: 'calc(100vh - 280px)' }}
virtual
scroll={{ x: 'max-content' }}
rowSelection={{
selectedRowKeys: selectedGroupIds,
onChange: (keys) => onSelectionChange(keys as string[]),
@@ -286,7 +286,7 @@ export default function InboundList({
onChange: (keys: Key[]) => setSelectedRowKeys(keys as number[]),
}}
pagination={paginationFor(visibleInbounds)}
scroll={{ x: tableScrollX, y: 'calc(100vh - 320px)' }}
scroll={{ x: tableScrollX }}
style={{ marginTop: 10 }}
size="small"
locale={{
+1 -1
View File
@@ -648,7 +648,7 @@ export default function NodeList({
columns={columns}
pagination={false}
loading={loading}
scroll={{ x: 'max-content', y: 'calc(100vh - 320px)' }}
scroll={{ x: 'max-content' }}
size="middle"
rowKey="key"
rowSelection={dataSource.length > 1 ? {