Update some Event View Code
All checks were successful
SteamWarCI Build successful

This commit is contained in:
2025-11-22 21:49:51 +01:00
parent 64adfe7c3b
commit ddb19a85dc
6 changed files with 285 additions and 21 deletions

View File

@@ -4,13 +4,15 @@
const {
title,
children,
unsized = false,
}: {
title: string;
children: Snippet;
unsized?: boolean;
} = $props();
</script>
<div class="flex flex-col w-72 m-4 gap-1">
<div class="flex flex-col gap-1 {unsized ? '' : 'w-72 m-4'}">
<div class="bg-gray-100 text-black font-bold px-2 rounded uppercase">
{title}
</div>