summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.html4
-rw-r--r--play.js2
2 files changed, 5 insertions, 1 deletions
diff --git a/play.html b/play.html
index 42d9e50..3de7ab5 100644
--- a/play.html
+++ b/play.html
@@ -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 }
diff --git a/play.js b/play.js
index 3d5e30a..22e7da3 100644
--- a/play.js
+++ b/play.js
@@ -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 {