From 4ed2c894949043d7fce9dc8a6bb6bbf6738a7f75 Mon Sep 17 00:00:00 2001 From: Colin Megill Date: Mon, 7 May 2018 11:21:16 -0700 Subject: [PATCH] prettier vlaue --- src/components/categorical/value.js | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/components/categorical/value.js b/src/components/categorical/value.js index 686c82fa..10be1611 100644 --- a/src/components/categorical/value.js +++ b/src/components/categorical/value.js @@ -54,12 +54,15 @@ class CategoryValue extends React.Component { paddingLeft: 15, width: 200, flexShrink: 0, - margin: 0, + margin: 0 // lineHeight: "1em" - }}> + }} + > @@ -70,11 +73,14 @@ class CategoryValue extends React.Component { padding: "1px 10px", width: 80, textAlign: "center", - backgroundColor: c ? this.props.colorScale(this.props.value) : "inherit", + backgroundColor: c + ? this.props.colorScale(this.props.value) + : "inherit", color: c ? "white" : "black", - margin: 0, + margin: 0 // lineHeight: "1em" - }}> + }} + > {this.props.count}