From aeee138b58ec17ea6edfdcdff281f914fb0ff585 Mon Sep 17 00:00:00 2001 From: Sidney Alcantara Date: Wed, 21 Oct 2020 12:47:39 +1100 Subject: [PATCH] fix Add Columns alignment --- www/src/components/Table/index.tsx | 2 +- www/src/components/Table/styles.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/src/components/Table/index.tsx b/www/src/components/Table/index.tsx index 09b5b610..033d07f5 100644 --- a/www/src/components/Table/index.tsx +++ b/www/src/components/Table/index.tsx @@ -132,7 +132,7 @@ export default function Table() { name: "Add column", type: FieldType.last, index: columns.length ?? 0, - width: 160, + width: 201, headerRenderer: FinalColumnHeader, cellClass: finalColumnClasses.cell, formatter: FinalColumn, diff --git a/www/src/components/Table/styles.ts b/www/src/components/Table/styles.ts index 93f7237c..dce98888 100644 --- a/www/src/components/Table/styles.ts +++ b/www/src/components/Table/styles.ts @@ -10,7 +10,7 @@ export const useStyles = makeStyles((theme) => lineHeight: "inherit !important", }, - "& .rdg-header": { overflow: "visible" }, + "& .rdg-header": { overflowY: "visible" }, "& .rdg-header, & .rdg-header .rdg-cell": { backgroundColor: theme.palette.background.default, },