Center workout graph image

This commit is contained in:
Peter Stockings
2023-03-11 22:29:35 +11:00
parent 879a83fd9e
commit dd6b5b95da

View File

@@ -19,7 +19,8 @@
</button>
</h2>
<div class="!visible collapse {% if loop.index != 1 %}hidden{% endif %}">
<img src="{{ url_for('workout', user_id=w.user_id, workout_id=w.id) }}" loading="lazy" alt="No image">
<img src="{{ url_for('workout', user_id=w.user_id, workout_id=w.id) }}" loading="lazy" alt="No image"
class="mx-auto">
<button
class="mx-4 mb-4 bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded inline-flex items-center"
hx-delete="{{ url_for('workout', user_id=w.user_id, workout_id=w.id) }}"