Skip to content

Commit

Permalink
svg-pan-zoom, and react19 <3
Browse files Browse the repository at this point in the history
  • Loading branch information
eloicasamayor committed Dec 6, 2024
1 parent 7fe93a3 commit 89f0b2c
Show file tree
Hide file tree
Showing 4 changed files with 1,621 additions and 1,649 deletions.
98 changes: 39 additions & 59 deletions package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"preview": "vite preview"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^7.0.1"
"react": "19.0.0",
"react-dom": "19.0.0",
"react-router-dom": "^7.0.1",
"svg-pan-zoom": "^3.6.2"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
Expand Down
12 changes: 1 addition & 11 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,13 @@ body {
}

.map-container {
flex-grow: 1;
width: "100%";
}

.map-box {
mask-clip: content-box;
height: 400px;
overflow: scroll;
height: 250px;
}

@media (min-width: 1250px) {
#country-info {
width: 400px;
}
.map-box {
height: 100vh;
}
.app-page {
flex-direction: row;
}
Expand Down
Loading

0 comments on commit 89f0b2c

Please sign in to comment.