mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 04:48:13 +08:00
fix long values in sidebar (#911)
* tweak overflow and add truncation * remove log * alter char limit to evenly space around occupancy * use global hover delay * create constants for truncation lengths and fix truncation on self color * create globals for short and long sidebar value length * fix alignment * create quick delay global
This commit is contained in:
@@ -68,9 +68,12 @@ export const leftSidebarSectionHeading = {
|
||||
letterSpacing: ".05em"
|
||||
};
|
||||
export const leftSidebarSectionPadding = 10;
|
||||
export const categoryLabelDisplayStringLongLength = 35;
|
||||
export const categoryLabelDisplayStringShortLength = 15;
|
||||
|
||||
/* various timing-related behaviors */
|
||||
export const tooltipHoverOpenDelay = 1000; /* ms delay before a tooltip displays */
|
||||
export const tooltipHoverOpenDelayQuick = 500;
|
||||
|
||||
let _API = {
|
||||
// prefix: "http://api.clustering.czi.technology/api/",
|
||||
|
||||
Reference in New Issue
Block a user