From c2ba8de2062775decf09c94360d303e742e4ff44 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Mon, 15 Oct 2018 14:57:36 +0300 Subject: [PATCH] Fix column max width --- client/src/components/Dashboard/BlockedDomains.js | 1 + client/src/components/Dashboard/QueriedDomains.js | 1 + 2 files changed, 2 insertions(+) diff --git a/client/src/components/Dashboard/BlockedDomains.js b/client/src/components/Dashboard/BlockedDomains.js index 3818f0d0..707007a7 100644 --- a/client/src/components/Dashboard/BlockedDomains.js +++ b/client/src/components/Dashboard/BlockedDomains.js @@ -31,6 +31,7 @@ class BlockedDomains extends Component { }, { Header: 'Requests count', accessor: 'domain', + maxWidth: 190, Cell: ({ value }) => { const { blockedFiltering, diff --git a/client/src/components/Dashboard/QueriedDomains.js b/client/src/components/Dashboard/QueriedDomains.js index 51a21ec6..045ceb6c 100644 --- a/client/src/components/Dashboard/QueriedDomains.js +++ b/client/src/components/Dashboard/QueriedDomains.js @@ -40,6 +40,7 @@ class QueriedDomains extends Component { }, { Header: 'Requests count', accessor: 'count', + maxWidth: 190, Cell: ({ value }) => { const percent = getPercent(this.props.dnsQueries, value); const percentColor = this.getPercentColor(percent);