Skip to content

Commit

Permalink
map made responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
007xylogramori committed May 23, 2023
1 parent 3b33556 commit 8933f43
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/components/MainBlogs/MainBlogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ const MainBlogs = () => {
));

return (
<Paper m={20} px={70} mb={70}>
<Paper m={20} px={70} mb={70}
sx={{
paddingTop:"20px"
}}
>
<Box>
<Title
order={3}
Expand Down
15 changes: 9 additions & 6 deletions src/components/MapBox/MapBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,18 @@ const MapBox = () => {
<Paper
m={25}
sx={{
height: '80vh',
height: '90vh',
display: 'flex',
justifyContent: 'space-around',
alignItems: 'left',
direction:'row',
flexWrap:'wrap',
justifyContent: 'centre',
alignItems: 'center',
}}
>
<Card
sx={{ display: 'flex', alignItems: 'left', flexDirection: 'column' }}
w="50%"
sx={{ display: 'flex', alignItems: 'left', flexDirection: 'column',minWidth:"360px",maxWidth:"50%" }}


>
<Title order={1} weight={300}>
We provide assistanace. Register your NGO/orphanage at Sampark.
Expand Down Expand Up @@ -119,7 +122,7 @@ const MapBox = () => {
}}
style={{
width: '500px',
height: '100%',
height: '60%',
borderRight: '10px',
}}
mapStyle="mapbox://styles/mapbox/dark-v9"
Expand Down

0 comments on commit 8933f43

Please sign in to comment.