Skip to content

Commit 0dc1fb1

Browse files
CopilotMatthijz98
andcommitted
Improve mobile responsiveness for ingredients table
Co-authored-by: Matthijz98 <17087153+Matthijz98@users.noreply.github.com>
1 parent 017e6b9 commit 0dc1fb1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/ingredients/Ingredients.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
</script>
77

88
<div class="bg-slate-200 rounded mb-4 overflow-x-auto">
9-
<table class="w-full text-nowrap whitespace-nowrap">
9+
<table class="w-full text-nowrap whitespace-nowrap text-sm md:text-base">
1010
<thead class="text-left">
1111
<tr class="border-b-2 border-slate-400">
1212
<th class="p-2">Ingredient</th>
13-
<th class="p-2">Allergieën</th>
14-
<th class="p-2">Hoeveelheid p.p.</th>
13+
<th class="p-2 hidden sm:table-cell">Allergieën</th>
14+
<th class="p-2">p.p.</th>
1515
<th class="p-2">Totaal</th>
1616
</tr>
1717
</thead>

0 commit comments

Comments
 (0)