diff --git a/src/routes/user/[uuid]/+page.svelte b/src/routes/user/[uuid]/+page.svelte index c7ce029..80d1f51 100644 --- a/src/routes/user/[uuid]/+page.svelte +++ b/src/routes/user/[uuid]/+page.svelte @@ -1,7 +1,10 @@ @@ -70,47 +73,70 @@ let mapBounds = $derived.by(() => { - +
+ {#if large.current} - + - - {#if data.session?.user.id === user.id } - + + {#if page.params.uuid === '$' + user.id } + {/if} + {/if} {#if ratings.length > 0} {#each ratings as rating (rating.rating_id)} + {#if !large.current} + + + + + + + + + + + + {/if} - + - - {#if rating.rating_user_id === user.id } - + + + + {#if page.params.uuid === '$' + user.id } + {/if} + {#if !large.current} + + + + + {/if} {/each} {:else} - + {/if} @@ -137,9 +163,9 @@ let mapBounds = $derived.by(() => { font-size: 1.2em; } - td:nth-child(8) { + /* td:nth-child(8) { text-align: left; - } + } */ tr:hover td { background-color: #f5f5f5; @@ -158,9 +184,5 @@ let mapBounds = $derived.by(() => { td { padding: 0; } - - td:nth-of-type(7), th:nth-of-type(7) { - display: none; - } } \ No newline at end of file
Restaurant
"Product"
Overall Doneness Brine Salty Spicy PortionNotesDelete
{rating.resto_name}
"{rating.product}"
OverallDonenessBrineSaltySpicyPortion
{rating.resto_name}
"{rating.product}"
{rating?.overall} {rating?.done} {rating?.brine} {rating?.salty} {rating?.spicy} {rating?.servings}{rating?.notes || '-'}
{rating?.notes || '-'}
No ratings yet.No ratings yet.