Improve a bit the layout for descriptions

This commit is contained in:
2024-12-30 11:59:56 +01:00
parent 6457486445
commit 8557e2b778
4 changed files with 24 additions and 8 deletions

View File

@@ -57,7 +57,6 @@
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane show active" id="nav-summary" role="tabpanel" aria-labelledby="nav-summary-tab">
<table class="table table-striped">
{{ book.description | safe }}
<thead>
<tr>
{% if type == "catalog" %}
@@ -119,6 +118,12 @@
<td>{{ book.price|default:"-" }}</td>
</tr>
{% endif %}
{% if book.description %}
<tr>
<th class="w-33" scope="row">Description</th>
<td>{{ book.description | safe }}</td>
</tr>
{% endif %}
</tbody>
</table>
{% if properties %}