Skip to content

✨ feat: add mobile-responsive layout shells for phone and tablet#13

Merged
clacina merged 1 commit into
masterfrom
mobile_responsive_layout
May 1, 2026
Merged

✨ feat: add mobile-responsive layout shells for phone and tablet#13
clacina merged 1 commit into
masterfrom
mobile_responsive_layout

Conversation

@clacina
Copy link
Copy Markdown
Owner

@clacina clacina commented May 1, 2026

Replaces the coarse isMobileHorizontal boolean with a useLayoutMode hook that classifies the viewport into phone-portrait, phone-landscape, tablet-portrait, tablet-landscape, or desktop. Each mobile form factor gets a dedicated layout shell component that positions the video player as the dominant element, with gesture swipe navigation via useSwipe. Per-layout CSS custom properties make visual tuning straightforward without touching shared styles.

Replaces the coarse isMobileHorizontal boolean with a useLayoutMode hook
that classifies the viewport into phone-portrait, phone-landscape,
tablet-portrait, tablet-landscape, or desktop. Each mobile form factor
gets a dedicated layout shell component that positions the video player
as the dominant element, with gesture swipe navigation via useSwipe.
Per-layout CSS custom properties make visual tuning straightforward
without touching shared styles.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@clacina clacina merged commit 4fbaad2 into master May 1, 2026
1 check passed
@clacina clacina deleted the mobile_responsive_layout branch May 5, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant