Skip to content

Commit 59391ef

Browse files
andrewboldiclaude
andcommitted
fix: center h1/h2/h3 headings in problem and solution content
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b59d1ab commit 59391ef

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/lib/components/ProblemDisplay.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,9 @@
3232
.text :global(img:not(.latex)) {
3333
filter: var(--img-filter, invert(0));
3434
}
35+
.text :global(h1),
36+
.text :global(h2),
37+
.text :global(h3) {
38+
text-align: center;
39+
}
3540
</style>

src/lib/components/SolutionDisplay.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@
2424
.text :global(img:not(.latex)) {
2525
filter: var(--img-filter, invert(0));
2626
}
27+
.text :global(h1),
28+
.text :global(h2),
29+
.text :global(h3) {
30+
text-align: center;
31+
}
2732
</style>

0 commit comments

Comments
 (0)