Style corrections.
This commit is contained in:
parent
2fd607a61a
commit
9a9a9aaf33
2 changed files with 5 additions and 5 deletions
|
@ -4,8 +4,8 @@
|
|||
<!-- Image fragment -->
|
||||
<div class="image-slot text-center">
|
||||
{% if image %}
|
||||
<img src="{{ url_for('static', filename=image.filename) }}" alt="Image of ID {{ id }}" class="img-thumbnail"
|
||||
style="max-height: 256px;" data-bs-toggle="modal" data-bs-target="#imageModal-{{ id }}">
|
||||
<img src="{{ url_for('static', filename=image.filename) }}" alt="Image of ID {{ id }}" class="img-thumbnail w-100"
|
||||
style="height: auto;" data-bs-toggle="modal" data-bs-target="#imageModal-{{ id }}">
|
||||
<div class="modal fade" id="imageModal-{{ id }}" tabindex="-1">
|
||||
<div class="modal-dialog modal-dialog-centered modal-lg">
|
||||
<div class="modal-content">
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
<label for="identifier" class="form-label">Identifier</label>
|
||||
<input type="text" class="form-control-plaintext" value="{{ item.identifier }}" readonly>
|
||||
</div>
|
||||
<div class="col">
|
||||
{{ images.render_image(item.id, item.image) }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-4">
|
||||
|
@ -128,9 +131,6 @@
|
|||
entry_route='worklog_entry', title='Work Log') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="col mt-5">
|
||||
{{ images.render_image(item.id, item.image) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue