fix: resolve katex-display scrollbar issues (#326)
Some checks failed
Code quality / quality (push) Failing after 3s
Build and Check / Astro Check for Node.js 22 (push) Failing after 4s
Build and Check / Astro Check for Node.js 23 (push) Failing after 4s
Build and Check / Astro Build for Node.js 22 (push) Failing after 4s
Build and Check / Astro Build for Node.js 23 (push) Failing after 4s

* fix: resolve katex-display scrollbar issues

* style: add katex display container styles for better responsiveness

* fix: enhance katex display handling with scrollable containers and intersection observer

---------

Co-authored-by: L4Ph <4ranci0ne@gmail.com>
This commit is contained in:
Hasenpfote
2025-05-18 12:26:59 +09:00
committed by GitHub
parent cd7cd683fc
commit cb6f97fc49
2 changed files with 46 additions and 3 deletions

View File

@@ -91,4 +91,11 @@
}
}
.katex-display-container {
max-width: 100%;
overflow-x: auto;
margin: 1em 0;
}
}