Repository navigation
Conversation
The restricted-size wrapper pinned the frame to a fixed 208px (w-52), so a mobile preview scaled wider than that lost its right edge. Use minWidth of max(scaledWidth, 208) so the frame keeps the 208px floor while the preview keeps its full width. The scrollbar CSS injected on mobile devices now zeroes the scrollbar boxes rather than only hiding them; the leftover space shifted the layout viewport and made the clipping worse. Fixes responsively-org#1515.
sloemo01
force-pushed
the
fix/mobile-preview-cutoff-whitespace
branch
from
October 12, 2026 16:51
a7bd6fb to
f83db9e
Compare
Author
|
Hi @manojVivek, this is up to date with |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1515
Summary of Changes:
w-52(208px), so a mobile preview scaled wider than that lost its right edge.DeviceFrame.tsxnow setsminWidth: max(scaledWidth, 208)so the frame keeps the 208px floor while the preview keeps its full width.useWebviewLifecycle.tsnow zeroes the scrollbar boxes instead of only hiding them, so the layout viewport no longer shifts and makes the clipping worse.Ported onto the 2.0 previewer rewrite: the window-open IPC half of the original branch no longer exists on main, so it is left out.