game phase cooldown new line, mobile styling

This commit is contained in:
Mashy 2019-11-22 00:23:53 +10:00
parent 0722b194b0
commit 28585487c6

View File

@ -69,7 +69,7 @@ function Skill(props) {
// return false;
// }
const cdText = construct.skills[i].cd > 0
? `- ${s.cd}T`
? `${s.cd}T`
: '';
const highlight = activeSkill
@ -91,7 +91,7 @@ function Skill(props) {
onMouseOut={e => hoverInfo(e, null)}
type="submit"
onClick={onClick}>
<span>{s.skill} {cdText}</span>
<span>{s.skill} <br /> {cdText}</span>
</button>
);
}