zenno: lint fixes

This commit is contained in:
2026-05-22 20:25:22 -04:00
parent 2e31560d6c
commit 7600c48cc7
5 changed files with 173 additions and 172 deletions

View File

@@ -18,14 +18,14 @@
const decels = $derived([decel].flat(1));
const gain = $derived(decels.map((d) => speedGain(speed, accel, d, dur) / HORSE_LENGTH));
const text = $derived(gain.map(fmtp).join(' – '));
const text = $derived(gain.map(fmtp).join(' '));
</script>
<div
class="m-2 flex h-full w-full max-w-80 flex-1 flex-col rounded-md border p-2 text-center shadow-sm transition-shadow hover:shadow-md"
>
<div class="block">{@render children()}</div>
<span class="block text-xl">{@html text} L</span>
<span class="block text-xl">{text} L</span>
<div class="flex flex-row">
<span class="flex-1 text-xs">{fmtp(speed)} m/s</span>
<span class="flex-1 text-xs">{dur.toFixed(3)} s</span>