Files
supabase/apps
Claude 79d6718996 fix(storage): tighten preview panel height clamp
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
2026-08-11 16:36:27 +00:00
..