Skip to content

Commit

Permalink
Merge pull request #155 from egor-tensin/monospace
Browse files Browse the repository at this point in the history
Use monospace font in textarea's
  • Loading branch information
szabodanika committed Jun 26, 2023
2 parents 2a15f40 + 833454b commit 92a529d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h4>
</h4>
<label>Content</label>
<br>
<textarea style="width: 100%; min-height: 100px" name="content" id="content" autofocus>{{ pasta.content }}</textarea>
<textarea style="width: 100%; min-height: 100px; font-family: monospace;" name="content" id="content" autofocus>{{ pasta.content }}</textarea>
<br>

{% if args.readonly %}
Expand Down
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
</div>
</div>
<label>Content</label>
<textarea style="width: 100%; min-height: 100px; margin-bottom: 2em" name="content" autofocus></textarea>
<textarea style="width: 100%; min-height: 100px; margin-bottom: 2em; font-family: monospace;" name="content" autofocus></textarea>
<div style="overflow:auto;">
{% if !args.no_file_upload %}
<div style="float: left">
Expand Down Expand Up @@ -252,4 +252,4 @@
}
</style>

{% include "footer.html" %}
{% include "footer.html" %}

0 comments on commit 92a529d

Please sign in to comment.