Fix videos being cropped
parent
c0275cdcb2
commit
a9ed9d3572
|
@ -298,7 +298,6 @@
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
max-height: 80vh;
|
max-height: 80vh;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
object-fit: cover;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -736,7 +736,7 @@
|
||||||
|
|
||||||
.status__video-player-video {
|
.status__video-player-video {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: contain;
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
|
|
Loading…
Reference in New Issue