Preview in edit mode doesn't handle "vh" CSS unit well


Using the latest release of Episerver (92).

Edit mode renders the site in an iframe that is as tall as the rendered content. This breaks usage of the "vh" CSS unit, as the elements have a height of Xvh can grow very tall.

Example: I have a map with a height of 70vh. This is 675px in a maximized window in my development VM. In edit mode, this map grows steadily until it reaches a height of 3686px.

Dec 09, 2015 9:02

Is there any elegant workaround for this issue till today 🤔

Aug 09, 2021 12:11
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.