Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 8dea3e5

Browse files
committed
webui: Only suppress the vertical overflow in the data grid
We want to keep the X overflow being allowed, as some tables are pretty wide. :)
1 parent f8ab36a commit 8dea3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webui/jsx/database-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ export default function DatabaseView() {
479479
<DatabasePageControls position="top" offset={offset} maxRows={maxRows} rowCount={rowCount} setOffset={(newOffset) => changeView(table, newOffset, sortColumns.length ? sortColumns[0].columnKey : null, sortColumns.length ? sortColumns[0].direction : null)} />
480480
<DataGrid
481481
// We are showing one page of rows unless this is the last page with a smaller number of rows. The "+ 1" includes the header row. The 35 is the default row height size in pixels.
482-
style={{height: ((Math.min(rowCount - offset, maxRows) + 1) * 35) + "px", overflow: "hidden"}}
482+
style={{height: ((Math.min(rowCount - offset, maxRows) + 1) * 35) + "px", overflowY: "hidden"}}
483483
className="rdg-light"
484484
renderers={{noRowsFallback: <DataGridNoRowsRender />}}
485485
columns={columns}

0 commit comments

Comments
 (0)