Scroll table on small screen sizes

This commit is contained in:
Mike Cifelli 2024-06-01 09:53:32 -04:00
parent 4f5b886e9e
commit 7e218dfb5d
Signed by: mike
GPG Key ID: 6B08C6BE47D08E4C
1 changed files with 76 additions and 74 deletions

View File

@ -1,4 +1,5 @@
<table class="mx-auto border-collapse table-auto min-w-full divide-y divide-zinc-200 dark:divide-zinc-700 text-left"> <div class="overflow-x-auto">
<table class="mx-auto border-collapse table-auto min-w-full divide-y divide-zinc-200 dark:divide-zinc-700 text-left">
<thead> <thead>
<tr> <tr>
<th scope="col" class="py-3 px-6 whitespace-nowrap"> <th scope="col" class="py-3 px-6 whitespace-nowrap">
@ -74,4 +75,5 @@
<% end %> <% end %>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>