Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-07-15 11:03:56 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-07-15 11:03:56 -0700
commit9b85d20fecd513ccdb33af29cd0cb12f6e1d4595 (patch)
tree7513cdd5648393b0c298e20cf353c074e3b992d3
parenta70c2617d51054acb261103580b3197e51cb35ce (diff)
Make record sheet allegiance name text smaller to fit
-rw-r--r--public/assets/css/style.css1
-rw-r--r--src/modules/record_sheet.js4
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) {