From cb94a1057f4faf8bb3a92c1fe18d7a2ca27afe38 Mon Sep 17 00:00:00 2001 From: Severiano Badajoz Date: Thu, 28 May 2020 16:08:02 -0700 Subject: [PATCH] tweak widths --- client/src/components/categorical/value/index.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/client/src/components/categorical/value/index.js b/client/src/components/categorical/value/index.js index ee9e8d70..ec8c794c 100644 --- a/client/src/components/categorical/value/index.js +++ b/client/src/components/categorical/value/index.js @@ -324,6 +324,11 @@ class CategoryValue extends React.Component { const valueToggleLabel = `value-toggle-checkbox-${displayString}`; + const labelWidth = + colorAccessor && !isColorBy + ? globals.leftSidebarWidth - 145 - 15 - 100 + : globals.leftSidebarWidth - 145 - 15; + return (
- +