Describe the bug
When metaboxes are present, the in-editor mobile preview height shrinks down, often becoming unusable because it's so short.
To reproduce
Steps to reproduce the behavior:
Expected behavior
I think the mobile preview pane should be unnaffected by the presence of metaboxes, and should not get shorter by their presence.
Screenshots


Editor version (please complete the following information):
Desktop (please complete the following information):
Smartphone (please complete the following information):
n/a
Additional context
Seems to be caused by overflow-y: auto being applied to the wrapping element for the editor (.edit-post-visual-editor) when in the preview modes.
That overflow rule does seem necessary for making the post content scrollable, but I think the container could also do with a min-height to make it not collapse.
Noting this has also been reported on Trac: https://core.trac.wordpress.org/ticket/50819
Most helpful comment
Noting this has also been reported on Trac: https://core.trac.wordpress.org/ticket/50819