mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 14:19:11 +03:00
Cap the preview thumbnail at 230px (was 320px) and derive the target height from what's left of the viewport instead of raw vh — ~144px of chrome sits above (close button + padding + filename summary), so a plain vh clamp waited too long to shrink. Now uses clamp(120px, (100vh - 144px) * 0.4, 230px) so the preview starts giving room to the sections below noticeably sooner as viewport height drops. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TiUEvmC84bRsteqsWXHY2p