diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-21 14:19:22 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-22 13:23:48 +0200 |
commit | 09909588d69878b1a3cb10adc497f82eb3f9c85d (patch) | |
tree | 2f76474b6d15d6b0a64270f0a483a6e29c7f4f2f /play.html | |
parent | 36314e6391ca282712615e4a54a9fe31eae03236 (diff) | |
download | rommel-in-the-desert-09909588d69878b1a3cb10adc497f82eb3f9c85d.tar.gz |
Place battle and pursuit boxes next to the hexes.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -54,8 +54,8 @@ <main data-min-zoom="1" data-max-zoom="2"> -<div id="battle" class="hide"> - <div id="battle_header"></div> +<details id="battle" class="hide"> + <summary id="battle_header"></summary> <div id="battle_hits"> <img class="hits_icon" src="icons/armor.svg"> <div class="hits_text" id="hits_armor">0</div> @@ -79,10 +79,10 @@ <button id="battle_end_fire_button" onclick="send_action('end_fire')">Done</button> </div> <div id="battle_message"></div> -</div> +</details> -<div id="pursuit" class="hide"> - <div id="pursuit_header">Pursuit Fire: $NAME</div> +<details id="pursuit" class="hide"> + <summary id="pursuit_header">Pursuit Fire: $NAME</summary> <div id="pursuit_hits">0 hits</div> <div class="battle_line" id="pursuit_line_1"></div> <div class="battle_line" id="pursuit_line_2"></div> @@ -91,7 +91,7 @@ <button id="pursuit_end_fire_button" onclick="send_action('end_fire')">End fire</button> </div> <div id="pursuit_message"></div> -</div> +</details> <div id="map"> |