nx: fix visibility of cursor on video

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/merge
Varun Patil 2023-11-02 13:00:47 -07:00
parent 7b3119c133
commit 183de24e62
1 changed files with 7 additions and 1 deletions

View File

@ -18,9 +18,15 @@ html.native {
}
body.viewer-fully-opened.viewer-video {
// Hide main content
// Hide main content when playing a video,
// so we can pass through to the native video player.
// The photoswipe element is outside the main content,
// so the controls will still be visible.
#app-content-vue {
// scroller cursors have transitions on visibility
// so we also need to set opacity to 0
visibility: hidden;
opacity: 0;
}
// Hide the background to be transparent for ExoPlayer