fix(Markdown): inline math overflow (#7095)
Some checks failed
Nightly Build / cleanup-artifacts (push) Failing after 1s
Nightly Build / check-repository (push) Failing after 1s
Nightly Build / nightly-build (macos-latest) (push) Has been skipped
Nightly Build / nightly-build (ubuntu-latest) (push) Has been skipped
Nightly Build / nightly-build (windows-latest) (push) Has been skipped
Nightly Build / Build-Summary (push) Failing after 0s

This commit is contained in:
one 2025-06-12 11:05:52 +08:00 committed by GitHub
parent a33a8da5c1
commit b142e5647e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -295,13 +295,16 @@ emoji-picker {
--border-size: 0; --border-size: 0;
} }
.katex-display { .katex,
mjx-container {
display: inline-block;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
} overflow-wrap: break-word;
vertical-align: middle;
mjx-container { max-width: 100%;
overflow-x: auto; padding: 1px 2px;
margin-top: -2px;
} }
/* CodeMirror 相关样式 */ /* CodeMirror 相关样式 */