parallel working

This commit is contained in:
Colin Megill
2017-08-26 00:15:23 -07:00
parent da24945bf2
commit 129ffa1ec6
4 changed files with 106 additions and 105 deletions
+5 -5
View File
@@ -9,9 +9,9 @@ const Button = ({category, c, i}) => (
<button
key={i}
style={{
border: i === 0 ? "none" : `1px solid ${globals.lightgrey}`,
background: i === 0 ? globals.hcaBlue : "none",
color: i === 0 ? "white" : "black",
border: i > -1 ? "none" : `1px solid ${globals.lightgrey}`,
background: i > -1 ? globals.hcaBlue : "none",
color: i > -1 ? "white" : "black",
padding: "7px 10px",
marginRight: 20,
borderRadius: 3,
@@ -20,8 +20,8 @@ const Button = ({category, c, i}) => (
{c}
<span
style={{
fontWeight: i === 0 ? globals.bolder : "auto",
background: i === 0 ? "white" : "none",
fontWeight: i > -1 ? globals.bolder : "auto",
background: i > -1 ? "white" : "none",
color: "black",
marginLeft: 10,
padding: "2px 4px",