fix skill btn
This commit is contained in:
parent
2fbdf8d9fe
commit
841aa40cf0
@ -10,7 +10,7 @@
|
|||||||
"player";
|
"player";
|
||||||
}
|
}
|
||||||
|
|
||||||
.team {
|
.game .team {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
|
||||||
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
.opponent .combat-text {
|
.opponent .combat-text {
|
||||||
left: 40%;
|
left: 40%;
|
||||||
transform: translate(-50%, -50%);
|
top: 75%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.opponent .game-construct {
|
.opponent .game-construct {
|
||||||
@ -75,10 +75,6 @@
|
|||||||
transition-timing-function: ease;
|
transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-construct .name {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
#targeting {
|
#targeting {
|
||||||
grid-area: target;
|
grid-area: target;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -401,6 +397,10 @@
|
|||||||
|
|
||||||
|
|
||||||
@media (max-height: 800px), (max-width: 1000px) {
|
@media (max-height: 800px), (max-width: 1000px) {
|
||||||
|
.game {
|
||||||
|
grid-template-rows: 1fr 0.2fr 1.5fr;
|
||||||
|
}
|
||||||
|
|
||||||
.game .stats div {
|
.game .stats div {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -347,10 +347,10 @@ header {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
.team {
|
.team {
|
||||||
display: flex;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-gap: 1em;
|
grid-gap: 1em;
|
||||||
grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
|
grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-construct {
|
.menu-construct {
|
||||||
|
|||||||
@ -48,4 +48,8 @@
|
|||||||
.login {
|
.login {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.timer-container {
|
||||||
|
margin: 0.5em 0 0 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,12 +47,12 @@ function Skill(props) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const skillChosen = game.stack.some(stack => stack.source_construct_id === construct.id);
|
// const skillChosen = game.stack.some(stack => stack.source_construct_id === construct.id);
|
||||||
const targeting = game.stack.some(stack => stack.source_construct_id === construct.id && stack.skill === s.skill);
|
const targeting = game.stack.some(stack => stack.source_construct_id === construct.id && stack.skill === s.skill);
|
||||||
|
|
||||||
if (skillChosen && !targeting) {
|
// if (skillChosen && !targeting) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
|
|
||||||
const cdText = construct.skills[i].cd > 0
|
const cdText = construct.skills[i].cd > 0
|
||||||
? `- ${s.cd}T`
|
? `- ${s.cd}T`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user