mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-19 19:08:11 +08:00
title ready for template
This commit is contained in:
@@ -21,6 +21,7 @@ class LeftSideBar extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div style={{position: "fixed"}}>
|
||||
<p style={{margin: 10, fontSize: 24, width: "100%"}}>CellXGene {globals.datasetTitle} </p>
|
||||
<div style={{padding: 10}}>
|
||||
<button
|
||||
style={{
|
||||
|
||||
@@ -43,6 +43,10 @@ export let API = {
|
||||
|
||||
if (window.CELLXGENE && window.CELLXGENE.API) API = window.CELLXGENE.API;
|
||||
|
||||
export let datasetTitle = "";
|
||||
|
||||
if (window.CELLXGENE && window.CELLXGENE.datasetTitle) datasetTitle = window.CELLXGENE.datasetTitle;
|
||||
|
||||
export const accentFont = "Georgia,Times,Times New Roman,serif";
|
||||
export const maxParagraphWidth = 600;
|
||||
export const maxControlsWidth = 800;
|
||||
|
||||
Reference in New Issue
Block a user