fix: video player stretch

version/enerpe
Tomáš Mládek 2022-12-08 16:55:01 +01:00
parent 32d3aeb1cf
commit 254c40ca5a
1 changed files with 6 additions and 6 deletions

View File

@ -33,15 +33,15 @@
left: 0;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
@media (orientation: portrait) {
flex-direction: column;
}
background: rgba(0, 0, 0, 0.88);
video {
width: 90%;
max-height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0 2rem;
}
transition: opacity 0.5s;