fix: video player stretch
This commit is contained in:
parent
32d3aeb1cf
commit
254c40ca5a
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue