Another attempt at improving usability of person list view on mobile (Need to add top scroll bar or make draggable on desktop as you now need to scroll to the bottom to see the scroll bar)

This commit is contained in:
Peter Stockings
2023-07-26 18:01:01 +10:00
parent 57257a83a2
commit 90dcd54498

View File

@@ -126,10 +126,10 @@
{% include 'partials/tags.html' %} {% include 'partials/tags.html' %}
{% endwith %} {% endwith %}
<div class="flex flex-col mt-3 w-screen sm-w-full"> <div class="flex flex-col mt-3 w-screen sm:w-full overflow-auto">
<div class="overflow-x-auto rounded-lg"> <div class="overflow-x-auto rounded-lg">
<div class="align-middle inline-block min-w-full"> <div class="align-middle inline-block">
<div class="shadow overflow-hidden sm:rounded-lg"> <div class="shadow sm:rounded-lg">
{% if person['Workouts']|length > 0 %} {% if person['Workouts']|length > 0 %}
<table class="min-w-full divide-y divide-gray-200"> <table class="min-w-full divide-y divide-gray-200">