Simplify video rendering

This commit is contained in:
Zed
2022-01-03 03:27:04 +01:00
parent 47ed1a3ae8
commit bc352cdb65
2 changed files with 22 additions and 20 deletions

View File

@ -2,8 +2,8 @@
@import '_mixins';
video {
height: 100%;
width: 100%;
max-height: 100%;
max-width: 100%;
}
.gallery-video {
@ -18,10 +18,13 @@ video {
.video-container {
max-height: 530px;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
img {
height: 100%;
width: 100%;
max-height: 100%;
max-width: 100%;
}
}