Skip to content

Commit 18b4f34

Browse files
committed
css issues
1 parent d2b9851 commit 18b4f34

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

public/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ button.mapboxgl-popup-close-button {
156156

157157
color: #fff;
158158
padding: 2px 4px;
159-
}
159+
}

src/App.svelte

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,9 @@
413413
}
414414
415415
.graph-container {
416-
position: relative;
417-
float: right;
418-
width: 410px;
416+
position: absolute;
419417
z-index: 1001;
420-
bottom: 382px;
418+
bottom: 24px;
421419
right: 10px;
422420
background-color: rgba(255, 255, 255, 0.9);
423421
padding: 5px 5px;
@@ -460,10 +458,10 @@
460458
}
461459
462460
.graph-toggole-button-container {
463-
position: relative;
461+
position: absolute;
464462
float: right;
465463
z-index: 1001;
466-
bottom: 60px;
464+
bottom: 24px;
467465
right: 10px;
468466
background-color: rgba(255, 255, 255, 0.9);
469467
padding: 5px 5px;
@@ -523,10 +521,9 @@
523521
}
524522
525523
.time-container {
526-
position: relative;
527-
bottom: 10px;
524+
position: absolute;
525+
bottom: 24px;
528526
left: 10px;
529-
width: 660px;
530527
z-index: 1002;
531528
background-color: rgba(255, 255, 255, 0.9);
532529
padding: 30px 10px;

src/Options.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,18 +209,18 @@
209209

210210
<div class="option">
211211
<p style="font-size: 15px;">
212-
<strong>Indicators:</strong>
212+
<strong>Indicator:</strong>
213213
</p>
214214
<select
215-
aria-label="geographic level"
215+
aria-label="indicator options"
216216
class="buttons-group"
217217
bind:value={sensor}
218218
on:change={() => {
219219
currentDataReadyOnMap.set(false);
220220
currentSensor.set(sensor);
221221
shouldDisplayBanner = true;
222222
}}>
223-
<optgroup label="Indicator">
223+
<optgroup label="Indicators">
224224
{#each Array.from($sensorMap.keys()).filter(d => !$sensorMap.get(d).official) as sensor}
225225
<option title={$sensorMap.get(sensor).tooltipText} value={sensor}>{$sensorMap.get(sensor).name}</option>
226226
{/each}

0 commit comments

Comments
 (0)