1
0
Fork 0
mirror of synced 2024-08-09 23:28:01 +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> </div>
{/if} {/if}
<div class="code-editor"> <div class={`code-editor ${mode?.name || ""}`}>
<div tabindex="-1" bind:this={textarea} /> <div tabindex="-1" bind:this={textarea} />
</div> </div>
<style> <style>
/* Push into theme */ .code-editor.handlebars :global(.cm-content) {
font-family: var(--font-sans);
}
.code-editor :global(.cm-tooltip.cm-completionInfo) { .code-editor :global(.cm-tooltip.cm-completionInfo) {
padding: var(--spacing-m); padding: var(--spacing-m);
} }