aboutsummaryrefslogtreecommitdiff
path: root/web/public
diff options
context:
space:
mode:
Diffstat (limited to 'web/public')
-rw-r--r--web/public/javascripts/map.js6
-rw-r--r--web/public/stylesheets/style.css22
2 files changed, 14 insertions, 14 deletions
diff --git a/web/public/javascripts/map.js b/web/public/javascripts/map.js
index 98e0898..8d4fc3b 100644
--- a/web/public/javascripts/map.js
+++ b/web/public/javascripts/map.js
@@ -42,7 +42,7 @@ function showDetails(e) {
let report = document.getElementById('report');
let prevUserInputs = report.getElementsByClassName('user-input');
for (let i=0; i < prevUserInputs.length; i++) {
- prevUserInputs[i].innerHTML = "";
+ prevUserInputs[i].innerHTML = "";
}
// put gender of the person
@@ -55,14 +55,14 @@ function showDetails(e) {
let ageRangeTextSpan = document.getElementById('report-age-range');
ageRangeTextSpan.className = 'user-input';
let ageRangeText = document.createTextNode(
- " ~ " + layer.feature.geometry['age'] + " years");
+ " ~ " + layer.feature.geometry['age'] + " years");
ageRangeTextSpan.appendChild(ageRangeText);
// put race of person
let raceTextSpan = document.getElementById('report-race');
raceTextSpan.className = 'user-input';
let raceText = document.createTextNode(
- Races[layer.feature.geometry['race']]
+ Races[layer.feature.geometry['race']]
);
raceTextSpan.appendChild(raceText);
diff --git a/web/public/stylesheets/style.css b/web/public/stylesheets/style.css
index 429a8f2..74660a8 100644
--- a/web/public/stylesheets/style.css
+++ b/web/public/stylesheets/style.css
@@ -33,8 +33,8 @@ a {
margin-bottom: 10px;
}
#report-container {
- overflow: auto;
- max-height: 750px;
+ overflow: auto;
+ max-height: 750px;
}
#report {
background-color: #0CC5EA;
@@ -44,19 +44,19 @@ a {
margin-bottom: 5px;
padding: 5px;
border-radius: 10px;
- display: flex;
- flex-flow: row wrap;
- justify-content: flex-end;
- flex-direction: column;
+ display: flex;
+ flex-flow: row wrap;
+ justify-content: flex-end;
+ flex-direction: column;
}
#report strong {
- font-size: 22px;
- font-style: italic;
- margin: auto;
- padding: 5px;
+ font-size: 22px;
+ font-style: italic;
+ margin: auto;
+ padding: 5px;
}
#report span {
- background-color: white;
+ background-color: white;
padding: 15px;
border-radius: 10px;
font-weight: lighter;