diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-01-07 00:15:03 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-08 16:36:48 +0100 |
commit | 00e7dd523d7b011309a1743bbe662241941e5f7a (patch) | |
tree | 1da0903fdee38a2d3393c7ba6a80ad8016b6116e | |
parent | 717faa1ffc830e5109a90e1740a912c6ec6647c8 (diff) | |
download | table-battles-00e7dd523d7b011309a1743bbe662241941e5f7a.tar.gz |
Fix "The Fog" display.
-rw-r--r-- | play.html | 4 | ||||
-rw-r--r-- | play.js | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -272,6 +272,10 @@ main { #player1 .slot_cubes { align-items: start; } #player2 .slot_cubes { align-items: end; } +/* S37 Inkerman - The Fog */ +[data-card="225B"] .slot_sticks { min-height: 12px } +[data-card="225B"] .slot_cubes { height: 51px } + /* S38 Fleurus - Retreat to Nivelles */ [data-card="237A"] .slot_cubes:empty { display: none } [data-card="237A"] .slot_cubes:not(:empty) ~ .slot_sticks { display: none } @@ -129,7 +129,7 @@ function create_formation_slot(id) { register_animation(e, 250) - if (card.name === "Retreat to Nivelles") { + if (card.name === "The Fog" || card.name === "Retreat to Nivelles") { ui.slot_cubes[id] = append_div(e, "slot_cubes") ui.slot_sticks[id] = append_div(e, "slot_sticks") } else { |