Fix layout stability: sticky sidebar in Show and sticky filters in Index with layout height correction

This commit is contained in:
jeremy bayse
2026-04-21 06:50:32 +02:00
parent 2216de1a02
commit 174f229b5d
3 changed files with 48 additions and 46 deletions

View File

@@ -255,7 +255,7 @@ const barColor = (pct) => pct >= 80 ? 'bg-success' : pct >= 60 ? 'bg-highlight'
<div class="flex gap-5 items-start">
<!-- Left panel -->
<div class="w-[280px] shrink-0 flex flex-col gap-4">
<div class="w-[280px] shrink-0 flex flex-col gap-4 sticky top-0 self-start">
<!-- Identity card -->
<div class="bg-surface rounded-2xl border border-ink/[0.07] shadow-sm">