From 03f0524ba38ede77107cf1a392a2104c7cb4c8f7 Mon Sep 17 00:00:00 2001 From: "diana.dolgolyova" Date: Thu, 12 Mar 2026 21:52:56 +0300 Subject: [PATCH] fix: clickable trainers in day cards, remove trainer dropdown, fix layout shift MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove trainer dropdown from filter bar — filter by clicking names in schedule cards - Make trainer/type clickable in DayCard with gold highlight on active filter - Fix showcase layout shift: track max detail height to prevent section from shrinking - Remove key-based grid remount that re-triggered Reveal animations on filter change Co-Authored-By: Claude Opus 4.6 --- src/components/sections/Schedule.tsx | 1 - src/components/ui/ShowcaseLayout.tsx | 37 +++++++++++++++++++++------- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/src/components/sections/Schedule.tsx b/src/components/sections/Schedule.tsx index ebb9271..dbef668 100644 --- a/src/components/sections/Schedule.tsx +++ b/src/components/sections/Schedule.tsx @@ -283,7 +283,6 @@ export function Schedule({ data: schedule, classItems }: ScheduleProps) { {/* Desktop: grid layout */}