mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
Make long KaTeX equations scrollable in the x-axis
Suggested from: https://katex.org/docs/issues.html, I have tested it adding a long equation and activating a phone user agent.
This commit is contained in:
parent
73437f24ea
commit
dafc09c892
@ -29,3 +29,10 @@ a {
|
||||
color: var(--body-text-color);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Make long KaTeX equations scrollable in the x-axis --- */
|
||||
.katex-display>.katex {
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user