game phase cooldown new line, mobile styling
This commit is contained in:
parent
0722b194b0
commit
28585487c6
@ -69,7 +69,7 @@ function Skill(props) {
|
|||||||
// return false;
|
// return false;
|
||||||
// }
|
// }
|
||||||
const cdText = construct.skills[i].cd > 0
|
const cdText = construct.skills[i].cd > 0
|
||||||
? `- ${s.cd}T`
|
? `${s.cd}T`
|
||||||
: '';
|
: '';
|
||||||
|
|
||||||
const highlight = activeSkill
|
const highlight = activeSkill
|
||||||
@ -91,7 +91,7 @@ function Skill(props) {
|
|||||||
onMouseOut={e => hoverInfo(e, null)}
|
onMouseOut={e => hoverInfo(e, null)}
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={onClick}>
|
onClick={onClick}>
|
||||||
<span>{s.skill} {cdText}</span>
|
<span>{s.skill} <br /> {cdText}</span>
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user