Removed the monospace font from the Text editor and replaced it with the core font.

This commit is contained in:
Dean 2023-06-02 11:46:01 +01:00
parent 44dd09dfef
commit a8836a1531
1 changed files with 4 additions and 2 deletions

View File

@ -258,12 +258,14 @@
</div>
{/if}
<div class="code-editor">
<div class={`code-editor ${mode?.name || ""}`}>
<div tabindex="-1" bind:this={textarea} />
</div>
<style>
/* Push into theme */
.code-editor.handlebars :global(.cm-content) {
font-family: var(--font-sans);
}
.code-editor :global(.cm-tooltip.cm-completionInfo) {
padding: var(--spacing-m);
}