Merge pull request #491 from zoff-music/fix/host-mode-resizing

Fix for host-mode not correctly resizing
This commit is contained in:
Kasper Rynning-Tønnesen
2019-03-22 06:17:06 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -2879,6 +2879,10 @@ nav ul li:hover, nav ul li.active {
height: 100vh !important;
}
.host-mode-height #player_overlay {
height: calc(100vh - 32px);
}
.host-mode-width {
width: 100vw !important;
}

View File

@@ -814,8 +814,8 @@ function enable_host_mode(enabled) {
document.removeEventListener('mozfullscreenchange', exitHandler, false);
document.removeEventListener('fullscreenchange', exitHandler, false);
document.removeEventListener('MSFullscreenChange', exitHandler, false);
resizeFunction();
}
resizeFunction();
List.dynamicContentPage(-10);
}