Skip to content

Commit

Permalink
turn off line wrapping in the csv textarea
Browse files Browse the repository at this point in the history
  • Loading branch information
jftsang committed Feb 20, 2022
1 parent 0fec2fd commit 02ce7bf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/texts.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ <h2>Update Texts</h2>
<div class="row mb-3">
{{ form.csv.label(class='col-sm-1 col-form-label') }}
<div class="col">
{{ form.csv(class='form-control', rows=15, cols=80, style='font-family: monospace;') }}
{{ form.csv(
class='form-control',
rows=15,
cols=80,
style='font-family: monospace; white-space: pre;
overflow-wrap: normal; overflow-x: scroll;'
) }}
{% if form.csv.errors %}
{% for error in form.csv.errors %}
<small class="font-small text-danger">
Expand Down

0 comments on commit 02ce7bf

Please sign in to comment.