Expand my Community achievements bar.

vh unit in editor.html (6.1)

Avatar

Level 5

I have an element where I'm applying the style "height: 75vh" but there's an issue when using the touch interface--it seems that the viewport height is calculated from the entire page (possibly becasue of the use of the iframe?) and so instead of my element being about 1000px tall on my screen, it's rendering as 16000px. In the classic UI it's displaying correctly.

I'm not sure about what to do, aside from a javascript calculation, which I'd prefer to avoid (partly because this is so localized to the editor.html view)

Or perhaps this is an issue I should submit a ticket for?

1 Reply

Avatar

Level 10

Yeah - this will need support to solve - i do not think its a use case community will solve.  There is not community article for this low level use case.