Skip to content

Commit 80ff0f5

Browse files
committed
Hide KaTeX equation numbers to prevent horizontal scroll
1 parent 4086a6a commit 80ff0f5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/app.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1165,10 +1165,15 @@ input::placeholder {
11651165

11661166
.katex-display {
11671167
margin: 1em 0;
1168-
overflow-x: auto;
11691168
padding: var(--space-sm) 0;
11701169
}
11711170

1171+
/* Hide equation numbers (from align, equation environments) */
1172+
.katex .eqn-num,
1173+
.katex .tag {
1174+
display: none;
1175+
}
1176+
11721177
/* API documentation specific styles */
11731178
.api-signature {
11741179
font-family: var(--font-mono);

0 commit comments

Comments
 (0)