player widths calc

This commit is contained in:
ntr
2019-11-02 15:22:29 +11:00
parent 9294471f47
commit 18f2ab5f7a
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -19,6 +19,9 @@
/* stops overflow */
min-height: 0;
min-width: 0;
// timer is 0.25 w/ 1em margin
width: calc(90% - 1.25em);
}
.player {
@@ -28,7 +31,6 @@
position: absolute;
bottom: 0;
height: 50%;
width: 90%;
}
.opponent {
@@ -37,7 +39,6 @@
position: absolute;
top: 0;
height: 35%;
width: 90%;
margin-top: 0.5em;
.game-construct {