mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 15:50:55 +08:00
maximize space for heatmap
This commit is contained in:
@@ -24,7 +24,7 @@ class LeftSideBar extends React.Component {
|
|||||||
render() {
|
render() {
|
||||||
/* this magic number should be made less fragile, if cellxgene logo or tabs change, this must as well */
|
/* this magic number should be made less fragile, if cellxgene logo or tabs change, this must as well */
|
||||||
const metadataSectionPadding =
|
const metadataSectionPadding =
|
||||||
this.state.currentTab === "metadata" ? 88 : 500;
|
this.state.currentTab === "metadata" ? 88 : 450;
|
||||||
console.log(this.props.currentTab, metadataSectionPadding);
|
console.log(this.props.currentTab, metadataSectionPadding);
|
||||||
return (
|
return (
|
||||||
<div style={{ position: "fixed" }}>
|
<div style={{ position: "fixed" }}>
|
||||||
@@ -102,8 +102,7 @@ class LeftSideBar extends React.Component {
|
|||||||
style={{
|
style={{
|
||||||
position: "fixed",
|
position: "fixed",
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
left: 0,
|
left: 0
|
||||||
border: "1px solid pink"
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{this.state.currentTab === "expression" ? (
|
{this.state.currentTab === "expression" ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user