diff --git a/frontend/src/components/Map.jsx b/frontend/src/components/Map.jsx index 7b19baf..370df6c 100644 --- a/frontend/src/components/Map.jsx +++ b/frontend/src/components/Map.jsx @@ -30,7 +30,7 @@ class Map extends React.Component { - +
CCC Spaces diff --git a/frontend/src/style/css/style.css b/frontend/src/style/css/style.css index 076d769..83fc598 100644 --- a/frontend/src/style/css/style.css +++ b/frontend/src/style/css/style.css @@ -1,3 +1,29 @@ body { background-color: #333333; +} + +#indexContainer { + display: flex; + flex-direction: column; + height: 100vh; + margin-top: 60px; +} + +@media (min-width: 680px) { + #indexContainer { + flex-direction: row; + } +} + +@media (orientation: landscape) { + #toolbar { + min-height: 20px !important; + .MuiIconButton-root { + padding: 3px !important; + } + } + + #indexContainer { + margin-top: 32px; + } } \ No newline at end of file diff --git a/frontend/src/views/Index.jsx b/frontend/src/views/Index.jsx index f5274a6..68fad07 100644 --- a/frontend/src/views/Index.jsx +++ b/frontend/src/views/Index.jsx @@ -2,19 +2,15 @@ import React from 'react'; import Map from '../components/Map'; import EventList from '../components/EventList'; -const style = { - container: { - display: 'flex', - flexDirection: 'column', - }, -}; const IndexContainer = () => ( -
-
+
+
- +
+ +
);