Skip to content

Commit

Permalink
fix: move katex styling to global stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarrazin committed Jan 19, 2025
1 parent 6ad0675 commit 49cd134
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lib/components/chat/MarkdownRenderer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,3 @@
{/await}
{/if}
{/each}

<style lang="postcss">
:global(.katex-display) {
overflow: auto hidden;
}
</style>
4 changes: 4 additions & 0 deletions src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@
@apply scrollbar-thin scrollbar-track-transparent scrollbar-thumb-black/10 scrollbar-thumb-rounded-full scrollbar-w-1 hover:scrollbar-thumb-black/20 dark:scrollbar-thumb-white/10 dark:hover:scrollbar-thumb-white/20;
}
}

.katex-display {
overflow: auto hidden;
}

0 comments on commit 49cd134

Please sign in to comment.