mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 19:28:12 +08:00
better handle long dataset titles (#909)
* truncate middle of long title names * remove width * In the case of VERY long titles, hide overflow * align bottom of title with cellxgene * add character length global and shrink length
This commit is contained in:
@@ -50,6 +50,8 @@ export const maxParagraphWidth = 600;
|
||||
export const cellxgeneTitleLeftPadding = 14;
|
||||
export const cellxgeneTitleTopPadding = 7;
|
||||
|
||||
export const datasetTitleMaxCharacterCount = 25;
|
||||
|
||||
export const maxControlsWidth = 800;
|
||||
|
||||
export const graphMargin = { top: 20, right: 10, bottom: 30, left: 40 };
|
||||
|
||||
Reference in New Issue
Block a user