summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-13 01:36:32 +0100
committerTor Andersson <tor@ccxvii.net>2023-12-13 01:37:16 +0100
commitb3209138cec501c447931ae8af5974bbc5cf2055 (patch)
tree4dcd28a79a7cbbcad569fc5318ef0bfd646f34fa
parentdb6136b3dae500216fdfbf1a4baf56336f008d05 (diff)
downloadpax-pamir-b3209138cec501c447931ae8af5974bbc5cf2055.tar.gz
Reposition deck/dominance meter.
-rw-r--r--play.css6
-rw-r--r--play.html4
-rw-r--r--play.js2
3 files changed, 6 insertions, 6 deletions
diff --git a/play.css b/play.css
index 7e28e9b..f8f7a12 100644
--- a/play.css
+++ b/play.css
@@ -48,13 +48,13 @@ body.shift #tooltip.focus { display: block; }
display: flex;
flex-direction: column;
justify-content: start;
- align-items: end;
+ align-items: start;
font-family: var(--font-small);
font-style: italic;
font-size: 14px;
width: 100px;
- top: 8px;
- right: 4px;
+ top: 18px;
+ left: 1076px;
gap: 5px;
}
diff --git a/play.html b/play.html
index 3a76b1b..4926bca 100644
--- a/play.html
+++ b/play.html
@@ -187,10 +187,10 @@
<div id="deck_info">
<div style="display:flex;align-items:center;">
- <div id="deck_count"></div>
<img height="22" src="icons/icon_deck.png">
- <img height="22" id="dom_info_1" src="icons/icon_dominance.png">
+ <div id="deck_count"></div>
</div>
+ <img height="22" id="dom_info_1" src="icons/icon_dominance.png">
<img height="22" id="dom_info_2" src="icons/icon_dominance.png">
<img height="22" id="dom_info_3" src="icons/icon_dominance.png">
<img height="22" id="dom_info_4" src="icons/icon_dominance.png">
diff --git a/play.js b/play.js
index 0ba5715..c516b50 100644
--- a/play.js
+++ b/play.js
@@ -512,7 +512,7 @@ function on_log(text) {
function layout_block_pool() {
function place_block_pool(i, x, y) {
- ui.pieces[i].style = `top:${40+y*47}px;left:${1105+x*45}px`
+ ui.pieces[i].style = `top:${40+y*47}px;left:${1120+x*45}px`
}
for (let k = 0, i = 0; i < 12; ++i) {
if (view.pieces[i] === 0) {