File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ and this project adheres to release number versioning.
1313- Added Docker containers with docker-compose [ #10 ] ( https://github.com/CodeForPhilly/third-places/pull/10 )
1414- Set up Leaflet React component and boiletplate homepage[ #7 ] ( https://github.com/CodeForPhilly/third-places/issues/7 )
1515- Added initial Django models & migration [ #21 ] ( https://github.com/CodeForPhilly/third-places/pull/21 )
16+ - Added buttons at bottom of Map [ #28 ] ( https://github.com/CodeForPhilly/third-places/issues/28 )
1617
1718### Changed
1819- Made Leaflet map element fullscreen and rmeoved title[ #27 ] ( https://github.com/CodeForPhilly/third-places/issues/27 )
Original file line number Diff line number Diff line change 11.leaflet-container {
22 width : 100vw ;
33 height : 100vh ;
4+ }
5+
6+ .button-container {
7+ padding-left : 1rem ;
8+ padding-right : 1rem ;
9+ margin-top : 2rem ;
410}
Original file line number Diff line number Diff line change @@ -21,9 +21,11 @@ function Map() {
2121 </ Marker >
2222 </ MapContainer >
2323 </ div >
24- < Button style = { { backgroundColor :"#ADD8E6" } } variant = "primary" > Primary</ Button > { ' ' }
25- < Button style = { { backgroundColor :"#ADD8E6" } } variant = "secondary" > Secondary</ Button >
26- < Button style = { { backgroundColor :"#ADD8E6" } } variant = "success" > Success</ Button >
24+ < div className = "button-container" >
25+ < Button style = { { backgroundColor :"#ADD8E6" , marginLeft : '1rem' , marginRight : '1rem' } } variant = "primary" > Near Me</ Button >
26+ < Button style = { { backgroundColor :"#ADD8E6" , marginLeft : '1rem' , marginRight : '1rem' } } variant = "primary" > On the Way To</ Button >
27+ < Button style = { { backgroundColor :"#ADD8E6" , marginLeft : '1rem' , marginRight : '1rem' } } variant = "primary" > Around Destination</ Button >
28+ </ div >
2729 </ div >
2830 )
2931}
You can’t perform that action at this time.
0 commit comments