Add fade in transition to work out start date, tags, & note

This commit is contained in:
Peter Stockings
2024-04-11 18:40:21 +10:00
parent 0fb330d6fa
commit 32a81df82a
4 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<div id="workout-note-{{workout_id}}" hx-target="this" hx-swap="outerHTML swap:0.5s">
<div id="workout-note-{{workout_id}}" hx-target="this" hx-swap="outerHTML swap:0.5s" class="animate-fadeIn">
{% if is_edit|default(false, true) == false %}
{% if note|length > 0 %}
<span class="text-base font-normal text-gray-500 whitespace-normal">{{ note | replace('\n', '<br>') | safe }}</span>