feat: improved mobile buttons + search ui

This commit is contained in:
2024-11-21 10:22:06 +01:00
parent a50447f457
commit 38fb111f7a
18 changed files with 24 additions and 24 deletions

View File

@@ -23,7 +23,7 @@
</div>
{:then stats}
<div
class="grid gap-2 grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 2xl:grid-cols-6 sm:gap-4"
class="grid gap-1 grid-cols-2 lg:grid-cols-3 xl:grid-cols-5 2xl:grid-cols-6 sm:gap-4"
>
<StatCard
title={$_("runners")}

View File

@@ -7,13 +7,13 @@
</script>
<a {href}>
<div class="p-4 rounded-lg bg-white border border-grey-100">
<div class="p-3 py-4 sm:p-4 rounded-lg bg-white border border-grey-100">
<div class="flex flex-row items-center justify-between">
<div class="flex flex-col">
<div class="text-xs uppercase font-normal text-grey-500">
<div class="text-md sm:text-xs uppercase font-normal text-grey-500">
{title}
</div>
<div class="text-xl font-bold font-mono">{value}</div>
<div class="text-2xl sm:text-xl font-bold font-mono">{value}</div>
</div>
<slot />
</div>