aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-10-12 12:46:26 -0400
committerbobzel <zzzman@gmail.com>2023-10-12 12:46:26 -0400
commit0717e03ea10c3041ade2c0dbde0a157f76df41d1 (patch)
tree438180853fc5950c923f86fcc1949c5896725d7f
parent53d456afb43b70cc240bc6a37094fa37cfe37436 (diff)
fix for tableBox scrolling
-rw-r--r--src/client/views/nodes/DataVizBox/components/TableBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/components/TableBox.tsx b/src/client/views/nodes/DataVizBox/components/TableBox.tsx
index 8f16df1dc..1ece3f238 100644
--- a/src/client/views/nodes/DataVizBox/components/TableBox.tsx
+++ b/src/client/views/nodes/DataVizBox/components/TableBox.tsx
@@ -241,7 +241,7 @@ export class TableBox extends React.Component<TableBoxProps> {
</tr>
))}
</tbody>
- <div style={{ height: (this._tableDataIds.length - this.endID) * 40 }} />
+ <div style={{ height: (this._tableDataIds.length - this.endID) * Number(DATA_VIZ_TABLE_ROW_HEIGHT) }} />
</table>
</div>
</div>