Skip to content

Commit

Permalink
fix desc multiple line
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Aug 29, 2024
1 parent 89b4605 commit e2a3af4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/templates/episode/patch.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
.diff .d2h-code-line-ctn, .diff .d2h-code-line *, .diff * {
font-family: Consolas, Menlo, monospace !important;
}
.original_description {
white-space: pre-wrap;
}
</style>
{% endblock %}

Expand Down Expand Up @@ -91,7 +95,7 @@
{% else %}
<div class="row">
<h4>{{ cn }}</h4>
<p class="blockquote"
<p class="blockquote original_{{ key }}"
style="background-color: #f7f7f9">{{ patch['original_' + key] }}</p>
</div>
{% endif %}
Expand Down

0 comments on commit e2a3af4

Please sign in to comment.