File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .leaflet-container-wrapper {
2+ display : flex;
3+ flex-flow : column nowrap;
4+ height : 100vh ;
5+ }
6+
17.leaflet-container {
28 width : 100vw ;
3- height : 100vh ;
9+ height : 100% ;
10+ flex-grow : 1 ;
411}
512
613.button-container {
7- padding-left : 1rem ;
8- padding-right : 1rem ;
9- margin-top : 2rem ;
14+ display : flex;
15+ flex-flow : row nowrap;
16+ justify-content : center;
17+ z-index : 1000 ;
18+ width : 100vw ;
19+ padding : 1rem 0 ;
20+ background-color : white;
1021}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Button from 'react-bootstrap/Button';
55
66
77function Map ( ) {
8-
8+ const buttonStyle = { backgroundColor : "#ADD8E6" , marginLeft : '1rem' , marginRight : '1rem' }
99 return (
1010 < div className = "leaflet-container-wrapper" >
1111 < div className = "leaflet-container" >
@@ -22,9 +22,9 @@ function Map() {
2222 </ MapContainer >
2323 </ div >
2424 < 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 >
25+ < Button style = { buttonStyle } variant = "primary" > Near Me</ Button >
26+ < Button style = { buttonStyle } variant = "primary" > On the Way To</ Button >
27+ < Button style = { buttonStyle } variant = "primary" > Around Destination</ Button >
2828 </ div >
2929 </ div >
3030 )
You can’t perform that action at this time.
0 commit comments