fixed mobile styles
This commit is contained in:
parent
fc452c5e35
commit
147513571f
|
@ -2,14 +2,15 @@ body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 960px) {
|
@media (min-width: 600px) {
|
||||||
.sighting-google-map-container > div {
|
.sighting-google-map-container > div {
|
||||||
width: calc(100% - 241px) !important;
|
width: calc(100% - 240px) !important;
|
||||||
|
height: calc(100% - 64px) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 960px) {
|
@media (min-width: 960px) {
|
||||||
.report-google-map-container > div {
|
.report-google-map-container > div {
|
||||||
width: 50% !important;
|
width: calc(100% - 50% - 120px) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -60,7 +60,8 @@ const styles = theme => ({
|
||||||
width: drawerWidth,
|
width: drawerWidth,
|
||||||
},
|
},
|
||||||
content: {
|
content: {
|
||||||
flexGrow: 1
|
flexGrow: 1,
|
||||||
|
width: '60%'
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -153,7 +154,6 @@ class ResponsiveDrawer extends React.Component {
|
||||||
</Toolbar>
|
</Toolbar>
|
||||||
</AppBar>
|
</AppBar>
|
||||||
<nav className={classes.drawer}>
|
<nav className={classes.drawer}>
|
||||||
{/* The implementation can be swap with js to avoid SEO duplication of links. */}
|
|
||||||
<Hidden smUp implementation="css">
|
<Hidden smUp implementation="css">
|
||||||
<Drawer
|
<Drawer
|
||||||
container={this.props.container}
|
container={this.props.container}
|
||||||
|
|
Loading…
Reference in New Issue