Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@ code {
body {
@apply bg-background text-foreground;
}

/* Prevent KaTeX/MathJax rendered math from creating its own vertical scrollbars */
.katex,
.katex-display,
.MathJax,
mjx-container {
overflow-x: auto !important;
overflow-y: hidden !important;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to do this without using the Magic Super Fix !important?

}
}

@keyframes loading-shimmer {
Expand Down