From 9b85d20fecd513ccdb33af29cd0cb12f6e1d4595 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Mon, 15 Jul 2024 11:03:56 -0700
Subject: Make record sheet allegiance name text smaller to fit
---
public/assets/css/style.css | 1 +
src/modules/record_sheet.js | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/public/assets/css/style.css b/public/assets/css/style.css
index 1c64766..e1257a4 100644
--- a/public/assets/css/style.css
+++ b/public/assets/css/style.css
@@ -295,6 +295,7 @@ div#content {
#record-sheet .name {
text-transform: capitalize;
+ font-size: smaller;
}
#record-sheet > div {
diff --git a/src/modules/record_sheet.js b/src/modules/record_sheet.js
index 0e26155..584bcf7 100644
--- a/src/modules/record_sheet.js
+++ b/src/modules/record_sheet.js
@@ -131,8 +131,8 @@ function deselect() {
function clear() {
document.querySelectorAll('#record-sheet .soldier-record').forEach(el => el.remove());
- document.querySelector('#attacker-record .name').textContent = 'attacker';
- document.querySelector('#defender-record .name').textContent = 'defender';
+ //document.querySelector('#attacker-record .name').textContent = 'attacker';
+ //document.querySelector('#defender-record .name').textContent = 'defender';
}
function select(data) {
--
cgit v1.2.3