adobe / adobe-dx

A toolkit for AEM to help build exceptional digital experiences.
Apache License 2.0
35 stars 33 forks source link

VH should not be in CSS during authoring #163

Open auniverseaway opened 3 years ago

auniverseaway commented 3 years ago

Due to AuthorVH outputting data attributes during authoring, we should not have the CSS for VH also being output. The existing pixel based values should still be output.

Expected Behaviour

<!-- editor.html -->
<style>#flex-5c12994e {}</style>
<!-- editor.html -->
<style>#flex-5c12994e {height: 100px}</style>

Actual Behaviour

<!-- editor.html -->
<style>#flex-5c12994e {height:60vh}</style>
<!-- editor.html -->
<style>#flex-5c12994e {height: 100px}</style>