tweak allotted width for value name + occupancy and tweak truncating (#1051)

This commit is contained in:
Severiano Badajoz
2019-11-21 20:14:11 -08:00
committed by GitHub
parent c2ededfc62
commit 9aaaad6709
2 changed files with 3 additions and 3 deletions

View File

@@ -360,7 +360,7 @@ class CategoryValue extends React.Component {
margin: 0,
padding: 0,
userSelect: "none",
width: globals.leftSidebarWidth - 130,
width: globals.leftSidebarWidth - 145,
display: "flex",
justifyContent: "space-between"
}}

View File

@@ -70,8 +70,8 @@ export const leftSidebarSectionHeading = {
letterSpacing: ".05em"
};
export const leftSidebarSectionPadding = 10;
export const categoryLabelDisplayStringLongLength = 35;
export const categoryLabelDisplayStringShortLength = 15;
export const categoryLabelDisplayStringLongLength = 27;
export const categoryLabelDisplayStringShortLength = 11;
/* various timing-related behaviors */
export const tooltipHoverOpenDelay = 1000; /* ms delay before a tooltip displays */