Closed haroun closed 1 month ago
@stuartromanek still working on
Moving from page to page should preserve your preview setting. Currently it does not.
the rest is there
@haroun looked at this again, really shaping up.
I committed a few style adjustments rather than go back and forth here. Be sure to pull!
I see the page-to-page stuff is still being worked out, no worries there
Two main issues I see
The content here runs out of the preview container but currently there is no ability to scroll. Fix here is fairly obvious, the container should scroll. If possible, disable scroll on the X axis. Naively
overflow-x: clip;
overflow-y: scroll;
The second issue being that the body styling issue is still not solved. Left has the site's real body style, right its being overridden to provide the canvas background.
Summary
Add mobile preview feature to the admin UI
What are the specific steps to test this change?
https://preview.a3.apos.dev/
or
devicePreviewMode
option in your projectCheck the display (you can add some media queries to your asset to test the rendering)
What kind of change does this PR introduce?
(Check at least one)
Make sure the PR fulfills these requirements:
If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.
Other information: