diff --git a/webapp/static/pxe-theme.css b/webapp/static/pxe-theme.css index dac101a..caf37c5 100644 --- a/webapp/static/pxe-theme.css +++ b/webapp/static/pxe-theme.css @@ -496,6 +496,15 @@ table.table, border-top: 1px solid var(--border); color: var(--text); } +/* Cells holding prose (e.g. destruction notes) wrap instead of widening + the table; every other cell stays nowrap. */ +.data-table td.wrap { + white-space: normal; + min-width: 16rem; + max-width: 28rem; + overflow-wrap: anywhere; +} + .data-table tbody tr:hover, .table tbody tr:hover { background: rgba(65, 129, 255, 0.1); } diff --git a/webapp/templates/reports_servicenow.html b/webapp/templates/reports_servicenow.html index 1d771ab..3b13c8b 100644 --- a/webapp/templates/reports_servicenow.html +++ b/webapp/templates/reports_servicenow.html @@ -53,7 +53,7 @@ {% if it.failed %}Blancco Wipe failed {% else %}Wiped{% endif %} - + {% if it.note %}
{{ it.note }}
diff --git a/webapp/templates/reports_todo.html b/webapp/templates/reports_todo.html index e1f5f9a..905458c 100644 --- a/webapp/templates/reports_todo.html +++ b/webapp/templates/reports_todo.html @@ -69,7 +69,7 @@ {{ it.serial or '-' }} {{ it.model or '-' }} {{ it.when.strftime('%Y-%m-%d %H:%M') }} - {{ it.note }} + {{ it.note }} Report