Fix landscape layout on mobile devices #117

Closed
nayan9617 wants to merge 1 commits from nayan9617/flotilla:fix/landscape-viewport into dev
Contributor

Summary

This PR addresses issue #108 and improves how Flotilla behaves in mobile landscape mode. A few full-height layout containers were using static viewport sizing, which can cause awkward cropping or overflow when the browser UI changes size on phones.

What changed

-Updated the main app shell to use dynamic viewport height.
-Aligned the affected sidebar and full-screen/detail views with the same sizing approach.
-Kept the change limited to layout code only, with no logic or data-flow changes.

Why this helps

-Mobile landscape is especially sensitive to browser chrome and safe-area changes.
-Dynamic viewport units track the visible screen more accurately than static screen height.
-The fix should make the app feel much more stable on Pixel-style devices and similar phones.

## Summary This PR addresses issue #108 and improves how Flotilla behaves in mobile landscape mode. A few full-height layout containers were using static viewport sizing, which can cause awkward cropping or overflow when the browser UI changes size on phones. ## What changed -Updated the main app shell to use dynamic viewport height. -Aligned the affected sidebar and full-screen/detail views with the same sizing approach. -Kept the change limited to layout code only, with no logic or data-flow changes. ## Why this helps -Mobile landscape is especially sensitive to browser chrome and safe-area changes. -Dynamic viewport units track the visible screen more accurately than static screen height. -The fix should make the app feel much more stable on Pixel-style devices and similar phones.
Author
Contributor

hello @hodlbod,
This PR fixes the issue #108. Please review the same!

hello @hodlbod, This PR fixes the issue #108. Please review the same!
nayan9617 added 1 commit 2026-04-02 15:36:02 +00:00
nayan9617 force-pushed fix/landscape-viewport from cf8bbd4bab to b162d39f7b 2026-04-02 15:36:02 +00:00 Compare
Owner

This is worth doing, but it doesn't solve the original issue I was seeing, see below:

This is worth doing, but it doesn't solve the original issue I was seeing, see below:
Author
Contributor

oh okay got it! let me try to resolve the same.

oh okay got it! let me try to resolve the same.
hodlbod closed this pull request 2026-04-04 00:17:57 +00:00

Pull request closed

Sign in to join this conversation.