From eef4d76f4b38733d1bbd7c3413c6145f9c7d6ad1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 8 Jan 2024 17:22:09 +0100 Subject: thin/hairsp? --- cards.css | 1 - play.js | 2 +- tools/gendata.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cards.css b/cards.css index 27f0a22..b68353a 100644 --- a/cards.css +++ b/cards.css @@ -129,7 +129,6 @@ line-height: 24px; text-align: center; margin: 12px 0; - font-variant-numeric: tabular-nums; } /* diff --git a/play.js b/play.js index 23468a3..f5da014 100644 --- a/play.js +++ b/play.js @@ -212,7 +212,7 @@ function create_formation_card(id, tip=false) { if (card.dice) { let dice_text = dice_text_map[card.dice] || card.dice dice_text = dice_text.replaceAll("-", " – ") - dice_text = dice_text.replaceAll("/", " / ") + dice_text = dice_text.replaceAll("/", " / ") dice_text = dice_text.replace("(", "( ") dice_text = dice_text.replace(")", " )") if (card.morale === 2) diff --git a/tools/gendata.js b/tools/gendata.js index cb938e1..c787d32 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -238,7 +238,7 @@ for (let c of card_records) { if (c.dice) { let dice_text = dice_text_map[c.dice] || c.dice dice_text = dice_text.replaceAll("-", " − ") - dice_text = dice_text.replaceAll("/", " / ") + dice_text = dice_text.replaceAll("/", " / ") dice_text = dice_text.replace("(", "( ") dice_text = dice_text.replace(")", " )") if (card.morale === 2) -- cgit v1.2.3