Skip to content

Commit c115abf

Browse files
committed
Used oload instead of DCL
1 parent 457db09 commit c115abf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,6 @@ window.addEventListener('hashchange', () => {
404404
});
405405

406406

407-
document.addEventListener('DOMContentLoaded', () => {
407+
window.onload = () => {
408408
hljs.highlightAll();
409-
});
409+
}

styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ h1 {
415415
padding: 1.5rem;
416416
border-radius: 8px;
417417
font-family: 'Monaco', 'Menlo', monospace;
418-
font-size: 2rem;
418+
font-size: 0.9rem;
419419
line-height: 1.6;
420420
white-space: pre-wrap;
421421
overflow-x: auto;

0 commit comments

Comments
 (0)