diff --git a/src/App.css b/src/App.css index 00ab2de..9494272 100644 --- a/src/App.css +++ b/src/App.css @@ -2,14 +2,15 @@ body { margin: 0; } -@media (min-width: 960px) { +@media (min-width: 600px) { .sighting-google-map-container > div { - width: calc(100% - 241px) !important; + width: calc(100% - 240px) !important; + height: calc(100% - 64px) !important; } } @media (min-width: 960px) { .report-google-map-container > div { - width: 50% !important; + width: calc(100% - 50% - 120px) !important; } } \ No newline at end of file diff --git a/src/components/Main.js b/src/components/Main.js index 6a5401f..62336af 100644 --- a/src/components/Main.js +++ b/src/components/Main.js @@ -60,7 +60,8 @@ const styles = theme => ({ width: drawerWidth, }, content: { - flexGrow: 1 + flexGrow: 1, + width: '60%' }, }); @@ -153,7 +154,6 @@ class ResponsiveDrawer extends React.Component {