Embed: center video in container (only relevant when fillSpace is used)

This commit is contained in:
Cat 2020-07-21 11:36:53 +02:00 committed by Thulinma
parent 20bf01d911
commit e0e272b2e9
3 changed files with 7 additions and 0 deletions

View file

@ -5,6 +5,11 @@
.mistvideo svg {
margin: 2.5px;
}
.mistvideo-video { /* keep video centered if container is larger (when fillSpace:true) */
display: flex;
align-items: center;
justify-content: center;
}
.mistvideo-background { background-color: $background; }
.mistvideo-totalTime:before {
content: '/';