ui: make footer sticky at the bottom

This commit is contained in:
2026-04-25 22:34:54 +02:00
parent 1a02803c80
commit 1895cd09ad

View File

@@ -95,7 +95,7 @@ templ Layout(title string, showHeader bool) {
}>
{ children... }
</main>
<footer class="border-t border-(--panel-soft) bg-(--panel) text-(--text-muted) py-6 mt-auto">
<footer class="sticky bottom-0 z-50 border-t border-(--panel-soft) bg-(--panel) text-(--text-muted) py-6 mt-auto">
<div class="mx-auto max-w-(--breakpoint-2xl) px-4 flex justify-between items-center">
<p class="text-sm">
&copy; {time.Now().Year()} mal. Open source anime tracking.