Update how the player resizes to fit. Closes #2360

This commit is contained in:
Gabe Kangas
2023-01-29 17:10:38 -08:00
parent 35650dc42b
commit 9877d115ee

View File

@@ -4,9 +4,14 @@
display: grid; display: grid;
width: 100%; width: 100%;
justify-items: center; justify-items: center;
max-height: 75vh; height: 75vh;
aspect-ratio: 16 / 9; aspect-ratio: 16 / 9;
@media (max-width: 1200px) {
height: unset;
max-height: 75vh;
}
.player, .player,
.poster { .poster {
width: 100%; width: 100%;