Merge pull request #79 in DNS/adguard-dns from fix/370 to master
* commit 'c2ba8de2062775decf09c94360d303e742e4ff44': Fix column max width
This commit is contained in:
commit
40d1b18b28
|
@ -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,
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue