diff --git a/frontend/app/player/web/Screen/Screen.ts b/frontend/app/player/web/Screen/Screen.ts index 2e11bfc66..a7edc82e2 100644 --- a/frontend/app/player/web/Screen/Screen.ts +++ b/frontend/app/player/web/Screen/Screen.ts @@ -209,9 +209,11 @@ export default class Screen { posStyles = { height: height + 'px' } break; case ScaleMode.AdjustParentHeight: + // we want to scale the document with true height so the clickmap will be scrollable + const usedHeight = this.document?.body.offsetHeight && this.document?.body.offsetHeight > height ? this.document.body.offsetHeight + 'px' : height + 'px' this.scaleRatio = offsetWidth / width translate = "translate(-50%, 0)" - posStyles = { top: 0, height: height + 'px', } + posStyles = { top: 0, height: usedHeight, } break; }