mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-25 06:53:00 +00:00
[client] Push body behind map
This commit is contained in:
parent
d1baf89b17
commit
f51cac03ca
2 changed files with 3 additions and 3 deletions
|
@ -29,12 +29,12 @@ h1 {
|
||||||
background: rgba(255, 255, 255, 0.5);
|
background: rgba(255, 255, 255, 0.5);
|
||||||
border-radius: 0 0 0.25em 0.25em;
|
border-radius: 0 0 0.25em 0.25em;
|
||||||
|
|
||||||
z-index: 10;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0; bottom: 0; left: 0; right: 0;
|
top: 0; bottom: 0; left: 0; right: 0;
|
||||||
|
|
||||||
z-index: -100;
|
z-index: 50;
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ class Map {
|
||||||
}, { // Overlay(s)
|
}, { // Overlay(s)
|
||||||
"Devices": this.device_markers.layer
|
"Devices": this.device_markers.layer
|
||||||
}, { // Options
|
}, { // Options
|
||||||
collapsed: false
|
|
||||||
});
|
});
|
||||||
this.layer_control.addTo(this.map);
|
this.layer_control.addTo(this.map);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue