tempates: fix System log layout to prevent overflow

Restrict the <pre> component where the logs are contained to
prevent text overflow from happening.
master v1.1.3-32
Alejandro Sirgo Rica 2024-10-08 09:46:18 +02:00
parent 6af4330016
commit 75cd6d9883
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,16 @@
<h2 class="mx-5 subhead-heading">{{_('Client log')}}</h2>
<style>
/* Prevent overflow */
pre {
max-width: 100%;
overflow: auto;
white-space: pre-wrap;
word-wrap: break-word;
}
</style>
<pre>{{ log }}</pre>
{% endblock %}