List of steps to reproduce (step by step, including full links if applicable):
- Open any JS/CSS e.g. https://pl.wikipedia.org/w/index.php?title=Wikipedysta:Nux/common.js&action=edit (also as anon).
- Change height of the editing window.
What happens?:
The code editor window is overflowing mw-body or even making edit form partially unusable (screens below).
(screen below)
What should have happened instead?:
The page should be resized with the editor. Also probably doesn't make sense to have a preview for code (at least if it is only JS or only CSS).
Compare with enwiki that don't have realtimepreview yet:
https://en.wikipedia.org/w/index.php?title=User:Nux/common.js&action=edit
(screen below)
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
1.39.0-wmf.8 (a4aaf3c)
Arrow shows problems with code overflowing mw-body.
And here you can see mw-body is resized with the editor normally without the preview.
This is much worse with edit controls. As they are over the edit field.