Skip to content

Commit

Permalink
Minor consistency tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
kepano committed Mar 19, 2024
1 parent 688e783 commit 3183458
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

<div id="controls">
<div id="zoom-controls">
<button id="toggleOutput">Toggle output</button>
<button id="toggle-output">Toggle output</button>
<button id="zoom-out">Zoom out</button>
<button id="zoom-in">Zoom in</button>
<button id="zoom-reset">Reset</button>
Expand Down
2 changes: 1 addition & 1 deletion .layouts/canvas.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@

<div id="controls">
<div id="zoom-controls">
<button id="toggleOutput">Toggle output</button>
<button id="toggle-output">Toggle output</button>
<button id="zoom-out">Zoom out</button>
<button id="zoom-in">Zoom in</button>
<button id="zoom-reset">Reset</button>
Expand Down
2 changes: 1 addition & 1 deletion assets/canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ document.getElementById('zoom-reset').addEventListener('click', function() {
adjustCanvasToViewport();
});

document.getElementById('toggleOutput').addEventListener('click', function() {
document.getElementById('toggle-output').addEventListener('click', function() {
const output = document.getElementById('output');
output.classList.toggle('hidden');
});
Expand Down
5 changes: 2 additions & 3 deletions assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -331,15 +331,14 @@ nav .link:hover {
}

/* Page content */
h1,h2,h3 {
margin-top: 0.25em;
}
h1 {
line-height: 1.1;
margin-top: 0.25em;
}
h2 {
line-height: 1.2;
margin-bottom: 0em;
margin-top: 1.5em;
}
h2 + p {
margin-top: 0.5em;
Expand Down

0 comments on commit 3183458

Please sign in to comment.