More work in home
This commit is contained in:
parent
9fd889f77f
commit
b1c9aad0ea
12 changed files with 48 additions and 36 deletions
|
|
@ -264,7 +264,7 @@ class FiresMap extends React.Component {
|
|||
</Col>
|
||||
</Row>
|
||||
<Row>
|
||||
// https://github.com/CliffCloud/Leaflet.Sleep
|
||||
{/* https://github.com/CliffCloud/Leaflet.Sleep */}
|
||||
<Map ref="fireMap"
|
||||
animate={true}
|
||||
minZoom={5}
|
||||
|
|
@ -272,7 +272,7 @@ class FiresMap extends React.Component {
|
|||
onClick={this.onClickReset}
|
||||
viewport={this.state.viewport}
|
||||
onViewportChanged={this.onViewportChanged}
|
||||
sleep={true}
|
||||
sleep={window.location.pathname === '/'}
|
||||
sleepTime={750}
|
||||
wakeTime={750}
|
||||
sleepNote={true}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
.leaflet-container {
|
||||
height: 100%;
|
||||
min-height: 70vh;
|
||||
min-height: 60vh;
|
||||
width: 100%;
|
||||
min-width: 75vw;
|
||||
display: flex;
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
@media only screen and (max-width: 400px) {
|
||||
.leaflet-container {
|
||||
height: 500px;
|
||||
height: 400px;
|
||||
width: 85vw;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue