Minor enhancement, when no note is present float right add new note button

This commit is contained in:
Peter Stockings
2023-07-12 20:16:49 +10:00
parent 81882e1969
commit acf11c2693

View File

@@ -8,7 +8,7 @@
Edit
</a>
{% else %}
<a class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2 cursor-pointer"
<a class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg inline-flex items-center p-2 cursor-pointer float-right"
hx-get="{{ url_for('get_workout_note_edit_form', person_id=person_id, workout_id=workout_id) }}"
hx-target="#workout-note">
Add note