Improving video CSS (work on overlay)

This commit is contained in:
David Négrier 2020-08-16 23:45:03 +02:00
parent 88c099fc13
commit 1509777945
2 changed files with 11 additions and 2 deletions

View file

@ -260,7 +260,7 @@ body {
}
.sidebar > div {
height: 15%;
max-height: 21%;
}
}
@media (max-aspect-ratio: 1/1) {
@ -278,7 +278,7 @@ body {
}
.sidebar > div {
width: 15%;
max-width: 21%;
}
}
@ -342,6 +342,14 @@ body {
margin: 2%;
}
/* Let's make sure videos are vertically centered if they need to be cropped */
.media-container {
display: flex;
justify-content: center;
flex-direction: column;
overflow: hidden;
}
.chat-mode {
display: flex;
width: 100%;