Merge pull request #79 in DNS/adguard-dns from fix/370 to master

* commit 'c2ba8de2062775decf09c94360d303e742e4ff44':
  Fix column max width
This commit is contained in:
Andrey Meshkov 2018-10-15 15:06:20 +03:00
commit 40d1b18b28
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ class BlockedDomains extends Component {
}, { }, {
Header: 'Requests count', Header: 'Requests count',
accessor: 'domain', accessor: 'domain',
maxWidth: 190,
Cell: ({ value }) => { Cell: ({ value }) => {
const { const {
blockedFiltering, blockedFiltering,

View File

@ -40,6 +40,7 @@ class QueriedDomains extends Component {
}, { }, {
Header: 'Requests count', Header: 'Requests count',
accessor: 'count', accessor: 'count',
maxWidth: 190,
Cell: ({ value }) => { Cell: ({ value }) => {
const percent = getPercent(this.props.dnsQueries, value); const percent = getPercent(this.props.dnsQueries, value);
const percentColor = this.getPercentColor(percent); const percentColor = this.getPercentColor(percent);