title ready for template

This commit is contained in:
Colin Megill
2018-03-02 09:15:56 -08:00
parent a04921c34f
commit 33b0a040ae
2 changed files with 5 additions and 0 deletions

View File

@@ -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={{

View File

@@ -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;