Skip to content

Commit

Permalink
Correct class spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
cpeel committed Apr 27, 2024
1 parent 437177e commit 6dcb9eb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/svgGraphs.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const {barLineGraph, stackedAreaGraph, pieGraph} = (function () {
const svgElement = svg.nodes()[0];
const downloadButton = document.createElement('button');
downloadButton.textContent = config.downloadLabel;
downloadButton.classList.add('grpah-download-button');
downloadButton.classList.add('graph-download-button');
downloadButton.addEventListener('click', () => {
let svgBlob = new Blob([createSvgText(svgElement)], { type: 'image/svg+xml' });
const downloadLink = document.createElement('a');
Expand Down
2 changes: 1 addition & 1 deletion styles/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ details[open] summary {
fill: @page-background;
}

.grpah-download-button {
.graph-download-button {
margin: 5px;
}

Expand Down
2 changes: 1 addition & 1 deletion styles/themes/charcoal.css
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ details[open] summary {
.graph-background {
fill: #262626;
}
.grpah-download-button {
.graph-download-button {
margin: 5px;
}
.graph-divider {
Expand Down
2 changes: 1 addition & 1 deletion styles/themes/classic_grey.css
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ details[open] summary {
.graph-background {
fill: #ffffff;
}
.grpah-download-button {
.graph-download-button {
margin: 5px;
}
.graph-divider {
Expand Down
2 changes: 1 addition & 1 deletion styles/themes/project_gutenberg.css
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ details[open] summary {
.graph-background {
fill: #ffffff;
}
.grpah-download-button {
.graph-download-button {
margin: 5px;
}
.graph-divider {
Expand Down
2 changes: 1 addition & 1 deletion styles/themes/royal_blues.css
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ details[open] summary {
.graph-background {
fill: #ffffff;
}
.grpah-download-button {
.graph-download-button {
margin: 5px;
}
.graph-divider {
Expand Down

0 comments on commit 6dcb9eb

Please sign in to comment.