Add padding and monospace font to markdown editor
This commit is contained in:
parent
d6826ecfdf
commit
b9c634ab22
1 changed files with 7 additions and 2 deletions
|
@ -13,9 +13,14 @@
|
|||
dispatch('quitEditor')
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<div class="card p-4 my-3 mx-4 font-heading-token">
|
||||
<textarea bind:value={content} on:keydown={handleKeyDown} class="textarea" rows="20" use:init></textarea>
|
||||
<textarea bind:value={content} on:keydown={handleKeyDown} class="textarea p-8" rows="20" use:init></textarea>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
textarea {
|
||||
font-family: monospace;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue