mirror of
https://github.com/jech/galene.git
synced 2024-11-23 00:55:58 +01:00
fix display login form and video on mibile
This commit is contained in:
parent
e5ccc82204
commit
71f5db03ad
2 changed files with 19 additions and 5 deletions
|
@ -880,10 +880,6 @@ header .colapse {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
|
||||||
margin: 5px 5px 5px 30%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.video-container {
|
.video-container {
|
||||||
height: calc(100vh - 64px);
|
height: calc(100vh - 64px);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -893,6 +889,19 @@ header .colapse {
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.login-container {
|
||||||
|
height: calc(100vh - 64px);
|
||||||
|
position: fixed;
|
||||||
|
top: 64px;
|
||||||
|
right: 0;
|
||||||
|
left: 0;
|
||||||
|
background: #eff3f9;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-box {
|
||||||
|
left: calc(100vw / 2 - 10.5em);
|
||||||
|
}
|
||||||
|
|
||||||
.coln-left {
|
.coln-left {
|
||||||
flex: 100%;
|
flex: 100%;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
@ -943,4 +952,8 @@ header .colapse {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#sharebutton {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,6 +60,7 @@ function hideVideo(force) {
|
||||||
}
|
}
|
||||||
let video_container = document.getElementById('video-container');
|
let video_container = document.getElementById('video-container');
|
||||||
video_container.classList.add('no-video');
|
video_container.classList.add('no-video');
|
||||||
|
document.getElementById('switch-video').style.display = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -648,7 +649,7 @@ function resizePeers() {
|
||||||
return;
|
return;
|
||||||
let rows = "";
|
let rows = "";
|
||||||
let size = 100 / columns;
|
let size = 100 / columns;
|
||||||
// Peers div has padding 10 on top and bottom, remove 20 on offsetHeight
|
// Peers div has total padding of 30px, we remove 30 on offsetHeight
|
||||||
let max_video_height = Math.trunc((peers.offsetHeight - 30) / columns);
|
let max_video_height = Math.trunc((peers.offsetHeight - 30) / columns);
|
||||||
for(let i = 0; i < columns; i++){
|
for(let i = 0; i < columns; i++){
|
||||||
rows += size + "% ";
|
rows += size + "% ";
|
||||||
|
|
Loading…
Reference in a new issue