Add padding and monospace font to markdown editor

This commit is contained in:
andrea 2023-09-15 09:32:24 +02:00
parent d6826ecfdf
commit b9c634ab22

View file

@ -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>