mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 09:58:11 +08:00
geneset description (#2141)
This commit is contained in:
@@ -59,6 +59,7 @@ class Gene extends React.Component {
|
||||
render() {
|
||||
const {
|
||||
gene,
|
||||
geneDescription,
|
||||
isColorAccessor,
|
||||
isScatterplotXXaccessor,
|
||||
isScatterplotYYaccessor,
|
||||
@@ -68,6 +69,7 @@ class Gene extends React.Component {
|
||||
} = this.props;
|
||||
const { geneIsExpanded } = this.state;
|
||||
const genesetNameLengthVisible = 310; /* this magic number determines how much of a long geneset name we see */
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div
|
||||
@@ -104,7 +106,7 @@ class Gene extends React.Component {
|
||||
top: -1,
|
||||
}}
|
||||
/>
|
||||
<Truncate>
|
||||
<Truncate tooltipAddendum={`: ${geneDescription}`}>
|
||||
<span
|
||||
style={{
|
||||
width: globals.leftSidebarWidth - genesetNameLengthVisible,
|
||||
|
||||
Reference in New Issue
Block a user