When viewing calendar month view on mobile days weeks without a workout have a much smaller cell
This commit is contained in:
@@ -96,7 +96,7 @@
|
|||||||
get_first_element_from_list_with_matching_attribute(
|
get_first_element_from_list_with_matching_attribute(
|
||||||
'StartDate',
|
'StartDate',
|
||||||
date) %}
|
date) %}
|
||||||
<div class="{% if date == datetime.today().date() %}rounded-md border-4 border-green-50{% endif %} border flex flex-col h-50 sm:h-40 md:h-30 lg:h-30 mx-auto mx-auto overflow-hidden w-full pt-2 pl-1 cursor-pointer {% if selected_date.month != date.month %}bg-gray-100{% endif %}"
|
<div class="{% if date == datetime.today().date() %}rounded-md border-4 border-green-50{% endif %} border flex flex-col h-36 sm:h-40 md:h-30 lg:h-30 mx-auto mx-auto overflow-hidden w-full pt-2 pl-1 cursor-pointer {% if selected_date.month != date.month %}bg-gray-100{% endif %}"
|
||||||
{% if workout %}
|
{% if workout %}
|
||||||
hx-get="{{ url_for('get_workout_modal', person_id=person['PersonId'], workout_id=workout['WorkoutId']) }}"
|
hx-get="{{ url_for('get_workout_modal', person_id=person['PersonId'], workout_id=workout['WorkoutId']) }}"
|
||||||
hx-target='body' hx-swap='beforeend' {% endif %}>
|
hx-target='body' hx-swap='beforeend' {% endif %}>
|
||||||
|
|||||||
Reference in New Issue
Block a user