Use monospace font in custom CSS textarea

This commit is contained in:
Jérémie Astori 2017-09-21 01:59:06 -04:00
parent 3fc0f4e686
commit 5728424c75
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8
2 changed files with 3 additions and 2 deletions

View file

@ -83,7 +83,8 @@ button {
}
code,
kbd {
kbd,
textarea#user-specified-css-input {
font-family: Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
}

View file

@ -376,7 +376,7 @@
<h2>Custom Stylesheet</h2>
</div>
<div class="col-sm-12">
<textarea class="input" name="userStyles" id="user-specified-css-input" placeholder="You can override any style with CSS here"></textarea>
<textarea class="input" name="userStyles" id="user-specified-css-input" placeholder="/* You can override any style with CSS here */"></textarea>
</div>
</div>