From 261b761069f203c097ee9b0437840f99b91959dd Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Thu, 30 Jan 2025 21:17:03 +0100 Subject: [PATCH] Racepicks: Make margins on small screens more consistent --- src/routes/racepicks/+page.svelte | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/routes/racepicks/+page.svelte b/src/routes/racepicks/+page.svelte index 205d8dd..8c1a1a5 100644 --- a/src/routes/racepicks/+page.svelte +++ b/src/routes/racepicks/+page.svelte @@ -164,7 +164,7 @@ imgwidth={AVATAR_WIDTH} imgheight={AVATAR_HEIGHT} containerstyle="height: 35px; width: 35px;" - imgclass="shadow bg-transparent rounded-full" + imgclass="bg-surface-400 rounded-full" /> {/each} @@ -180,7 +180,7 @@ imgwidth={AVATAR_WIDTH} imgheight={AVATAR_HEIGHT} containerstyle="height: 35px; width: 35px;" - imgclass="shadow bg-transparent rounded-full" + imgclass="bg-surface-400 rounded-full" /> {/each} @@ -202,7 +202,7 @@ {#each data.raceresults as result} {@const race = getrace(result.race)} -
+
@@ -227,7 +227,7 @@ imgwidth={AVATAR_WIDTH} imgheight={AVATAR_HEIGHT} containerstyle="height: 35px; width: 35px;" - imgclass="shadow bg-transparent rounded-full" + imgclass="bg-surface-400 rounded-full" />
pick.race === race?.id)[0]} {#if pick} -
+
PXX: {getdriver(pick?.pxx ?? "")?.code} DNF: {getdriver(pick?.dnf ?? "")?.code}
{:else} -
+
{/if} {/each}