Skip to content

Commit

Permalink
fix: disable font ligatures (#229)
Browse files Browse the repository at this point in the history
Closes #228
  • Loading branch information
fmaclen authored Nov 7, 2024
1 parent 6b52e23 commit 07162ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/components/Markdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
@apply rounded-md bg-amber-50 p-1 text-xs text-orange-600;
@apply dark:bg-amber-950 dark:text-orange-500;
@apply md:text-sm;
font-variant-ligatures: none;
}
.markdown :global(pre code) {
Expand Down
3 changes: 2 additions & 1 deletion src/routes/sessions/[id]/Prompt.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@
}
.prompt-editor__textarea {
field-sizing: content;
@apply base-input max-h-48 min-h-14 resize-none scroll-p-2 px-3 py-2;
field-sizing: content;
font-variant-ligatures: none;
}
.prompt-editor__toolbar {
Expand Down

0 comments on commit 07162ca

Please sign in to comment.