From 6c7ff4394d7371e3e161e4344f86eff56de33dc7 Mon Sep 17 00:00:00 2001 From: Thomas Zemp Date: Thu, 29 Aug 2019 12:41:13 +0200 Subject: [PATCH] fix column width #19 --- new/src/components/DataReactTable.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/new/src/components/DataReactTable.js b/new/src/components/DataReactTable.js index a4eede28..7ea6fd77 100644 --- a/new/src/components/DataReactTable.js +++ b/new/src/components/DataReactTable.js @@ -27,9 +27,9 @@ function getColumns(columnRow, dataRow) { accessor: column, foldable: true, style: { whiteSpace: "unset", wordWrap: "break" }, - width: "100" + width: 100 }; - if (wideColumns.hasOwnProperty(column)) {columnProperties.width = "200"} + if (wideColumns.hasOwnProperty(column)) {columnProperties.width = 200;} columnsArray.push(columnProperties); return columnsArray; }, []); @@ -43,7 +43,7 @@ function DataReactTable(props) {