From 737e8942f6a1824963d4afe426d5bb4d33befc11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gjermund=20H=C3=B8s=C3=B8ien=20Wiggen?= Date: Sun, 7 Jun 2026 23:00:45 +0200 Subject: [PATCH] Redesign ticket list to three-column layout with proportional widths - Replace Sheet slide-over with inline peer detail column - List column: 40% width (min 360px) when ticket selected, flex-1 otherwise - Detail column: 60% width (min 480px), slides in from right (300ms) - Mobile: list hidden when ticket selected, detail becomes full-width - Subtle border-r divider on list column - Taller ticket rows (py-4) with smooth hover transitions - width transition on list column resize --- web/src/app/globals.css | 11 +++++++++++ web/src/app/page.tsx | 12 +++++++----- web/src/components/app-shell.tsx | 2 +- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/web/src/app/globals.css b/web/src/app/globals.css index 97ebd3b..53609f8 100644 --- a/web/src/app/globals.css +++ b/web/src/app/globals.css @@ -117,6 +117,17 @@ --sidebar-ring: oklch(0.556 0 0); } +@keyframes slide-in-right { + from { + transform: translateX(100%); + opacity: 0; + } + to { + transform: translateX(0); + opacity: 1; + } +} + @layer base { * { @apply border-border outline-ring/50; diff --git a/web/src/app/page.tsx b/web/src/app/page.tsx index 7df5885..9c44477 100644 --- a/web/src/app/page.tsx +++ b/web/src/app/page.tsx @@ -69,7 +69,7 @@ function TicketRow({ ticket, selected, onClick }: { ticket: Ticket; selected: bo