Skip to content

Commit

Permalink
updates to latest d3plus-export for better image downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
davelandry committed May 12, 2023
1 parent 6a47646 commit 8edfe35
Show file tree
Hide file tree
Showing 5 changed files with 3,889 additions and 4,199 deletions.
4 changes: 2 additions & 2 deletions examples/app/helmet.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const title = "Canon";
export default {
link: [
{rel: "icon", href: "/images/favicon.ico"},
{rel: "preconnect", href: "https://fonts.gstatic.com/", crossorigin: ""},
{rel: "stylesheet", href: "https://fonts.googleapis.com/css?family=Work+Sans:300,400,500,600,700,900"}
{rel: "preconnect", href: "https://fonts.gstatic.com/", crossorigin: "anonymous"},
{rel: "stylesheet", href: "https://fonts.googleapis.com/css?family=Work+Sans:300,400,500,600,700,900", crossorigin: "anonymous"}
],
meta: [
{charset: "utf-8"},
Expand Down
5 changes: 3 additions & 2 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
"dependencies": {
"@datawheel/canon-cms": "workspace:*",
"@datawheel/canon-core": "workspace:*",
"@datawheel/canon-logiclayer": "*",
"@datawheel/canon-logiclayer": "workspace:*",
"axios": "^0.21.1",
"d3plus-react": "~1.1.3",
"d3plus-text": "~1.0.3",
"d3plus-viz": "~1.2.6",
"prop-types": "^15.7.2",
"react": "^16.13.1"
"react": "16.13.1",
"react-dom": "16.13.1"
}
}
4 changes: 3 additions & 1 deletion packages/cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"d3-time-format": "^3.0.0",
"d3plus-axis": "~1.1.5",
"d3plus-common": "~1.1.2",
"d3plus-export": "~1.1.0",
"d3plus-export": "~1.1.1",
"d3plus-format": "~1.1.1",
"d3plus-react": "~1.1.3",
"d3plus-text": "~1.0.3",
Expand All @@ -88,6 +88,8 @@
"promise-throttle": "^1.0.0",
"puppeteer": "^8.0.0",
"puppeteer-cluster": "^0.22.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-ace": "9.4.1",
"react-clipboard.js": "^2.0.7",
"react-sizeme": "^2.6.7",
Expand Down
4 changes: 3 additions & 1 deletion packages/cms/src/components/Viz/Mirror.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
.mirror.is-visible {
position: fixed;
top: 0;
left: 100%;
left: 0;
z-index: -1000;
}

/* layout */
Expand Down Expand Up @@ -69,6 +70,7 @@
.mirror-content .options-dialog,
.mirror-content .cp-var-reset-button,
.mirror-content .cp-section-heading-anchor,
.mirror-content .cp-select-icon,
.mirror-content .show-more {
display: none !important;
}
Expand Down
Loading

0 comments on commit 8edfe35

Please sign in to comment.