TEMP: Use <pre> for comments in admin area

Also update admin.css so that lines get wrapped
FREEZE-blogpost-2021-01-19
Felix 2019-12-28 19:45:19 +01:00
parent 3e89147ffa
commit 86e0cb02b3
2 changed files with 4 additions and 1 deletions

View File

@ -113,6 +113,9 @@ a {
text-align: center;
width: 100%;
}
.isso-comment pre {
white-space: pre-wrap;
}
.isso-comment-footer a {
cursor: pointer;
}

View File

@ -124,7 +124,7 @@
{% if comment.mode == 4 %}
<strong>HIDDEN</strong>. Original text: <br />
{% endif %}
<div id="isso-text-{{comment.id}}">{{comment.text}}</div>
<div id="isso-text-{{comment.id}}"><pre>{{comment.text}}</pre></div>
</div>
<div class='isso-comment-footer'>
{% if conf.votes and comment.likes - comment.dislikes != 0 %}