Skip to content

Commit 3ccb959

Browse files
authored
Merge pull request #32 from CodeForPhilly/leafletfullscreen
Altetred CSS so Map is fullscreen width
2 parents 7f0789c + a4d0029 commit 3ccb959

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and this project adheres to release number versioning.
1515
- Added initial Django models & migration [#21](https://github.com/CodeForPhilly/third-places/pull/21)
1616

1717
### Changed
18-
18+
- Made Leaflet map element fullscreen and rmeoved title[#27](https://github.com/CodeForPhilly/third-places/issues/27)
1919
### Deprecated
2020

2121
### Removed

src/app/src/App.css

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
2+
13
#root {
2-
max-width: 1280px;
3-
max-height: 1wh;
4-
margin: 0 auto;
5-
padding: 2rem;
4+
width: 100vw;
65
text-align: center;
76
}
87

src/app/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function App() {
77

88
return (
99
<div>
10-
<div className="title">THIRD PLACES PROJECT</div>
1110
<Map/>
1211
</div>
1312

src/app/src/Map/Map.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
.leaflet-container {
2-
height: 700px;
3-
width: 700px;
4-
margin-left: auto;
5-
margin-right: auto;
2+
width: 100vw;
3+
height: 100vh;
64
}

0 commit comments

Comments
 (0)