Removed the monospace font from the Text editor and replaced it with the core font.
This commit is contained in:
parent
44dd09dfef
commit
a8836a1531
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue