Fix layout of video streams (thx @TabascoEye)
This commit is contained in:
parent
7ab3d827ba
commit
e81790d74e
15
front/dist/resources/style/style.css
vendored
15
front/dist/resources/style/style.css
vendored
@ -580,12 +580,10 @@ input[type=range]:focus::-ms-fill-upper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.chat-mode {
|
.chat-mode {
|
||||||
display: grid;
|
display: inline-grid;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
align-items: flex-start;
|
|
||||||
|
|
||||||
padding: 1%;
|
padding: 1%;
|
||||||
|
align-items: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-mode > div {
|
.chat-mode > div {
|
||||||
@ -598,20 +596,21 @@ input[type=range]:focus::-ms-fill-upper {
|
|||||||
.chat-mode > div:hover {
|
.chat-mode > div:hover {
|
||||||
margin: 0%;
|
margin: 0%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-mode.one-col {
|
.chat-mode.one-col {
|
||||||
grid-template-columns: repeat(1, 1fr);
|
grid-template-columns: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-mode.two-col {
|
.chat-mode.two-col {
|
||||||
grid-template-columns: repeat(2, 1fr);
|
grid-template-columns: auto auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-mode.three-col {
|
.chat-mode.three-col {
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: auto auto auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-mode.four-col {
|
.chat-mode.four-col {
|
||||||
grid-template-columns: repeat(4, 1fr);
|
grid-template-columns: auto auto auto auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*CONSOLE*/
|
/*CONSOLE*/
|
||||||
|
@ -24,7 +24,6 @@ export interface CenterListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const ON_ACTION_TRIGGER_BUTTON = 'onaction';
|
export const ON_ACTION_TRIGGER_BUTTON = 'onaction';
|
||||||
|
|
||||||
export const TRIGGER_WEBSITE_PROPERTIES = 'openWebsiteTrigger';
|
export const TRIGGER_WEBSITE_PROPERTIES = 'openWebsiteTrigger';
|
||||||
export const TRIGGER_JITSI_PROPERTIES = 'jitsiTrigger';
|
export const TRIGGER_JITSI_PROPERTIES = 'jitsiTrigger';
|
||||||
|
|
||||||
@ -195,7 +194,7 @@ class LayoutManager {
|
|||||||
} else {
|
} else {
|
||||||
HtmlUtils.getElementByIdOrFail<HTMLDivElement>('sidebar').style.display = 'none';
|
HtmlUtils.getElementByIdOrFail<HTMLDivElement>('sidebar').style.display = 'none';
|
||||||
HtmlUtils.getElementByIdOrFail<HTMLDivElement>('main-section').style.display = 'none';
|
HtmlUtils.getElementByIdOrFail<HTMLDivElement>('main-section').style.display = 'none';
|
||||||
HtmlUtils.getElementByIdOrFail<HTMLDivElement>('chat-mode').style.display = 'grid';
|
HtmlUtils.getElementByIdOrFail<HTMLDivElement>('chat-mode').style.display = 'inline-grid';
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const div of this.importantDivs.values()) {
|
for (const div of this.importantDivs.values()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user