diff --git a/client/assets/styles/game.less b/client/assets/styles/game.less index d6bd7d30..b51ce13c 100644 --- a/client/assets/styles/game.less +++ b/client/assets/styles/game.less @@ -130,6 +130,9 @@ margin-bottom: 0.25em; text-align: center; grid-area: name; + span { + background-color: black; + } } .skills { @@ -138,9 +141,15 @@ width: 100%; height: 2em; margin-right: 1em; + span { + background-color: black; + } } button.active { background: #2c2c2c; + span { + background-color: #2c2c2c; + } } } @@ -151,6 +160,9 @@ width: 100%; text-align: center; font-size: 1.5em; + span { + background-color: black; + } } .stats { @@ -232,6 +244,7 @@ padding-left: 1em; padding-right: 1em; text-align: center; + background-color: black; svg { display: inline; height: 1em; diff --git a/client/src/components/construct.jsx b/client/src/components/construct.jsx index 19e9fd20..112126d8 100644 --- a/client/src/components/construct.jsx +++ b/client/src/components/construct.jsx @@ -111,7 +111,7 @@ function constructText(props) { ? animText.text : construct.name; - return

{text}

; + return

{text}

; } module.exports = { diff --git a/client/src/components/game.construct.jsx b/client/src/components/game.construct.jsx index b448ecec..0a475f7a 100644 --- a/client/src/components/game.construct.jsx +++ b/client/src/components/game.construct.jsx @@ -153,11 +153,11 @@ class GameConstruct extends Component { } const effects = construct.effects.length ? construct.effects.map(c => -
hoverInfo(e, c)} - onMouseOut={e => hoverInfo(e, null)} - > {c.effect} - {c.duration}T
) +
+ hoverInfo(e, c)} + onMouseOut={e => hoverInfo(e, null)}> {c.effect} - {c.duration}T + +
) : null; return (
{effects}
); }; diff --git a/client/src/components/skill.btn.jsx b/client/src/components/skill.btn.jsx index 87d0cc89..6f96e410 100644 --- a/client/src/components/skill.btn.jsx +++ b/client/src/components/skill.btn.jsx @@ -91,7 +91,7 @@ function Skill(props) { onMouseOut={e => hoverInfo(e, null)} type="submit" onClick={onClick}> - {s.skill} {cdText} + {s.skill} {cdText} ); }