Ben Thomson 7aea162fe2 Fix Markdown editor sizing issue on Chrome.
Chrome exhibits an issue in stretch mode with the double min-height definition of the surrounding field container and the editor writing area where the height is interpreted incorrectly and the editor content is clipped if the viewport shrinks the editor below the minimum height.

This fix will define a minimum height just for the editor writing area based on the "size" option, and will still allow stretch to increase the height of the editor further as required.

Partially reverts the "improvements" in d7117f9cb2

Fixes https://github.com/wintercms/winter/issues/322
2021-09-30 09:42:46 +08:00
..