Skip to content

Commit

Permalink
update inset size
Browse files Browse the repository at this point in the history
  • Loading branch information
joewdavies committed Jun 13, 2023
1 parent b0d8f3d commit 53ff244
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/dorling.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/dorling.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/dorling.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export function dorling() {
circleXOffset: window.innerWidth > 1000 ? 37 : 30,
circleYOffset: window.innerWidth > 1000 ? 45 : 33,
spacingX: window.innerWidth > 1000 ? 78 : 65, // between the start of each rect
spacingY: window.innerWidth > 1000 ? 78 : 60, // between the start of each rect
spacingY: window.innerWidth > 1000 ? 78 : 55, // between the start of each rect
padding: window.innerWidth > 1000 ? 15 : 3, // inside the rect. so that the geometries arent touching the rect borders
}
//tooltip html
Expand Down
2 changes: 1 addition & 1 deletion test/iframe/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="flexbox-container wrap">
<div>
<iframe
src="http://localhost:5500/NutsDorlingCartogram/examples/population/?simple=true"
src="http://localhost:5500/NutsDorlingCartogram/examples/gdp/?simple=true"
height="800px"
width="710px"
></iframe>
Expand Down

0 comments on commit 53ff244

Please sign in to comment.