Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {