diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-13 01:36:32 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-13 01:37:16 +0100 |
commit | b3209138cec501c447931ae8af5974bbc5cf2055 (patch) | |
tree | 4dcd28a79a7cbbcad569fc5318ef0bfd646f34fa | |
parent | db6136b3dae500216fdfbf1a4baf56336f008d05 (diff) | |
download | pax-pamir-b3209138cec501c447931ae8af5974bbc5cf2055.tar.gz |
Reposition deck/dominance meter.
-rw-r--r-- | play.css | 6 | ||||
-rw-r--r-- | play.html | 4 | ||||
-rw-r--r-- | play.js | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -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; } @@ -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"> @@ -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) { |