Skip to content

Commit

Permalink
fix: add horizontal overflow for event and project tables
Browse files Browse the repository at this point in the history
  • Loading branch information
slashtechno committed Feb 16, 2025
1 parent 87089d4 commit 4dc95de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/routes/events/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
</section>
<section>
<h2>Events you own</h2>
<div class="overflow-x-auto">
<table class="table w-full table-zebra">
<thead>
<tr>
Expand Down Expand Up @@ -66,9 +67,11 @@
{/each}
</tbody>
</table>
</div>
</section>
<section>
<h2>Events you are attending</h2>
<div class="overflow-x-auto">
<table class="table w-full table-zebra">
<thead>
<tr>
Expand All @@ -85,6 +88,7 @@
{/each}
</tbody>
</table>
</div>
</section>
<section>
<h2 class="text-xl font-semibold mb-4">Attend Event</h2>
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/routes/projects/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<!-- <div > -->
<section class="space-y-8 p-4">
<h2 class="text-xl font-semibold mb-4">Your projects</h2>
<div class="overflow-x-auto">
<table class="table w-full table-zebra">
<thead>
<tr>
Expand All @@ -34,6 +35,7 @@
{/each}
</tbody>
</table>
</div>
</section>
<section>
<h2 class="text-xl font-semibold mb-4">Create Project</h2>
Expand Down

0 comments on commit 4dc95de

Please sign in to comment.