diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..ff17ffb Binary files /dev/null and b/.DS_Store differ diff --git a/refugee-stories/src/actions/index.js b/refugee-stories/src/actions/index.js index d5289e4..1b3767b 100644 --- a/refugee-stories/src/actions/index.js +++ b/refugee-stories/src/actions/index.js @@ -90,4 +90,7 @@ export const login = (newCredentials) => dispatch => { dispatch({ type: LOGIN_SUCCESS, payload: res }); }) .catch(err => console.log(err)); -}; \ No newline at end of file +}; + + + diff --git a/refugee-stories/src/components/Map.js b/refugee-stories/src/components/Map.js index b6e1bc1..e1c5923 100644 --- a/refugee-stories/src/components/Map.js +++ b/refugee-stories/src/components/Map.js @@ -1,15 +1,24 @@ import React from "react"; import { Map, InfoWindow, Marker, GoogleApiWrapper } from "google-maps-react"; + const style = { width: "50%", height: "50%", - marginLeft: '470px', + marginLeft: '25%', position: "static" }; + export class MapContainer extends React.Component { + + + + + + + render() { return ( { diff --git a/refugee-stories/src/views/pages/AddStory.js b/refugee-stories/src/views/pages/AddStory.js index 6cd79ea..602c11a 100644 --- a/refugee-stories/src/views/pages/AddStory.js +++ b/refugee-stories/src/views/pages/AddStory.js @@ -44,7 +44,7 @@ const TextInput = styled.textarea` letter-spacing: 1px; } `; -const Header = styled.div` +const Header = styled.h1` margin: 0 auto; margin-top: 40px; `; diff --git a/refugee-stories/src/views/pages/Connect.js b/refugee-stories/src/views/pages/Connect.js index cd66324..9f5cd34 100644 --- a/refugee-stories/src/views/pages/Connect.js +++ b/refugee-stories/src/views/pages/Connect.js @@ -17,7 +17,7 @@ const HeroWrapper = styled.div` font-size: 4rem; `; const MapWrapper = styled.div` - +position: static; display:flex; flex-direction: column; color:white;