Spaces:
Paused
Paused
fix: make equations horizontally scrollable when they overflow
Browse files
src/lib/components/chat/MarkdownRenderer.svelte
CHANGED
|
@@ -121,3 +121,9 @@
|
|
| 121 |
{/if}
|
| 122 |
{/each}
|
| 123 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
{/if}
|
| 122 |
{/each}
|
| 123 |
</div>
|
| 124 |
+
|
| 125 |
+
<style lang="postcss">
|
| 126 |
+
:global(.katex-display) {
|
| 127 |
+
overflow: auto hidden;
|
| 128 |
+
}
|
| 129 |
+
</style>
|