mirror of https://github.com/Siphonay/mastodon
parent
101e6564fd
commit
9073687f66
|
@ -161,6 +161,19 @@
|
||||||
max-width: 100vw;
|
max-width: 100vw;
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
.extended-video-player {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
video {
|
||||||
|
max-width: $media-modal-media-max-width;
|
||||||
|
max-height: $media-modal-media-max-height;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.media-modal {
|
.media-modal {
|
||||||
|
@ -274,8 +287,8 @@
|
||||||
@include fullwidth-gallery;
|
@include fullwidth-gallery;
|
||||||
|
|
||||||
video {
|
video {
|
||||||
height: 100%;
|
max-width: 100vw;
|
||||||
width: 100%;
|
max-height: 80vh;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
Loading…
Reference in New Issue