1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

refactor: reduce custom CSS

This commit is contained in:
Cotes Chung
2024-04-21 00:00:50 +08:00
parent 63c51384df
commit 015d5670a1
4 changed files with 4 additions and 24 deletions

View File

@@ -45,7 +45,7 @@
[...basicList].forEach((elem) => {
const svgCode = elem.textContent;
const backup = elem.parentElement;
backup.classList.add('unloaded');
backup.classList.add('d-none');
/* create mermaid node */
let mermaid = document.createElement('pre');
mermaid.classList.add('mermaid');