Merge pull request #1552 from thelounge/astorije/monospace-custom-css

Use monospace font in custom CSS textarea
This commit is contained in:
Jérémie Astori 2017-09-26 18:31:08 -04:00 committed by GitHub
commit 0bf47ff06a
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -376,7 +376,7 @@
<h2>Custom Stylesheet</h2> <h2>Custom Stylesheet</h2>
</div> </div>
<div class="col-sm-12"> <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>
</div> </div>