1
0
Fork 0
mirror of synced 2024-07-13 18:26:06 +12:00

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

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);
}