switch to roboto condensed for space

This commit is contained in:
Colin Megill
2018-10-15 11:20:52 -07:00
parent 090bad040e
commit 693dc7be12
5 changed files with 5 additions and 16 deletions
+3 -3
View File
@@ -4,10 +4,10 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>cellxgene</title> <title>cellxgene</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:400,400i,700" rel="stylesheet">
<style> <style>
html, body, p, h1, h2, h3, h4, h5, h6, span, button, input { html, body, p, h1, h2, h3, h4, h5, h6, span, button, input, text {
font-family: 'Roboto','Helvetica Neue','Helvetica','Arial',sans-serif; font-family: 'Roboto Condensed','Helvetica Neue','Helvetica','Arial',sans-serif;
font-size: 16px; font-size: 16px;
} }
body { body {
@@ -41,7 +41,6 @@ class CellSetButton extends React.Component {
</span> </span>
<span <span
style={{ style={{
fontFamily: "Georgia",
fontSize: 14, fontSize: 14,
marginLeft: 8, marginLeft: 8,
position: "relative", position: "relative",
@@ -18,16 +18,6 @@ class Expression extends React.Component {
this.state = {}; this.state = {};
} }
handleClick(gene) {
return () => {
const { dispatch } = this.props;
dispatch({
type: "color by expression",
gene
});
};
}
computeDiffExp() { computeDiffExp() {
const { dispatch, differential } = this.props; const { dispatch, differential } = this.props;
dispatch( dispatch(
@@ -97,7 +97,7 @@ class GeneExpression extends React.Component {
background: "none", background: "none",
cursor: "pointer", cursor: "pointer",
outline: "none", outline: "none",
margin: "none", marginTop: 20,
padding: 0 padding: 0
}} }}
onClick={() => { onClick={() => {
@@ -109,6 +109,7 @@ class GeneExpression extends React.Component {
<CirclePlus <CirclePlus
style={{ style={{
display: "inline-block", display: "inline-block",
marginLeft: 7,
color: globals.brightBlue, color: globals.brightBlue,
fontSize: 22 fontSize: 22
}} }}
-1
View File
@@ -138,7 +138,6 @@ const Controls = (
}); });
_.forEach(action.expressionData, (val, key) => { _.forEach(action.expressionData, (val, key) => {
console.log("got one ", key);
dimensionMap[key] = World.createVarDimensionsMap( dimensionMap[key] = World.createVarDimensionsMap(
world, world,
worldVarDataCache, worldVarDataCache,