🐛 fix: katex block overflow (#2138)

This commit is contained in:
ZhenShuo Leo committed 2025-05-14 20:47:18 +08:00
1 parent 1d21656d5e
commit 3d0b59f413
2 files changed
+13

No files matched your search

+6
View File
@@ -107,6 +107,12 @@ body button {
/* Fix long KaTeX equations on mobile (see https://katex.org/docs/issues.html#css-customization) */
.katex-display { overflow: auto hidden }
/* Fix katex overflow https://github.com/nunocoracao/blowfish/issues/2138 */
.katex-display {
padding-right: 2px;
width: calc(100% - 2px);
}
/* Fix long tables breaking out of article on mobile */
table {
display: block;