Improving video CSS (work on overlay)
This commit is contained in:
parent
88c099fc13
commit
1509777945
12
front/dist/resources/style/style.css
vendored
12
front/dist/resources/style/style.css
vendored
@ -260,7 +260,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar > div {
|
.sidebar > div {
|
||||||
height: 15%;
|
max-height: 21%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-aspect-ratio: 1/1) {
|
@media (max-aspect-ratio: 1/1) {
|
||||||
@ -278,7 +278,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar > div {
|
.sidebar > div {
|
||||||
width: 15%;
|
max-width: 21%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -342,6 +342,14 @@ body {
|
|||||||
margin: 2%;
|
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 {
|
.chat-mode {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -28,6 +28,7 @@ class LayoutManager {
|
|||||||
const div = document.createElement('div');
|
const div = document.createElement('div');
|
||||||
div.innerHTML = html;
|
div.innerHTML = html;
|
||||||
div.id = "user-"+userId;
|
div.id = "user-"+userId;
|
||||||
|
div.className = "media-container"
|
||||||
|
|
||||||
if (importance === DivImportance.Important) {
|
if (importance === DivImportance.Important) {
|
||||||
this.importantDivs.set(userId, div);
|
this.importantDivs.set(userId, div);
|
||||||
|
Loading…
Reference in New Issue
Block a user