Preview Viewport resizes to fit space. See #12319
Don't reduce Preveiew viewport height below 300px
Merge pull request #2762 from aleksandra-tarkowska/rebased/develop/preview_resize_12319

Preview resize 12319 (rebased onto develop)