mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
minor fixes
This commit is contained in:
parent
efb8a71981
commit
e5ccc82204
4 changed files with 7 additions and 2 deletions
|
@ -795,6 +795,7 @@ header .colapse {
|
||||||
font-size: 1.3rem;
|
font-size: 1.3rem;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: #dbd9d9;
|
color: #dbd9d9;
|
||||||
|
line-height: 44px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-sep {
|
.header-sep {
|
||||||
|
|
|
@ -151,7 +151,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label for="sendselect">Send:</label>
|
<label for="sendselect">Send:</label>
|
||||||
<select id="sendselect">
|
<select id="sendselect" class="select select-inline">
|
||||||
<option value="lowest">lowest</option>
|
<option value="lowest">lowest</option>
|
||||||
<option value="low">low</option>
|
<option value="low">low</option>
|
||||||
<option value="normal" selected>normal</option>
|
<option value="normal" selected>normal</option>
|
||||||
|
@ -169,6 +169,6 @@
|
||||||
|
|
||||||
<script src="/protocol.js" defer></script>
|
<script src="/protocol.js" defer></script>
|
||||||
<script src="/sfu.js" defer></script>
|
<script src="/sfu.js" defer></script>
|
||||||
<script src="/scripts/toastify-js" defer></script>
|
<script src="/scripts/toastify.js" defer></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -143,6 +143,7 @@ document.getElementById('presentbutton').onclick = function(e) {
|
||||||
document.getElementById('unpresentbutton').onclick = function(e) {
|
document.getElementById('unpresentbutton').onclick = function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
delUpMediaKind('local');
|
delUpMediaKind('local');
|
||||||
|
resizePeers();
|
||||||
};
|
};
|
||||||
|
|
||||||
function changePresentation() {
|
function changePresentation() {
|
||||||
|
@ -642,6 +643,9 @@ function resizePeers() {
|
||||||
Object.keys(serverConnection.down).length;
|
Object.keys(serverConnection.down).length;
|
||||||
let peers = document.getElementById('peers');
|
let peers = document.getElementById('peers');
|
||||||
let columns = Math.ceil(Math.sqrt(count));
|
let columns = Math.ceil(Math.sqrt(count));
|
||||||
|
if (!count)
|
||||||
|
// No video, nothing to resize.
|
||||||
|
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 padding 10 on top and bottom, remove 20 on offsetHeight
|
||||||
|
|
Loading…
Reference in a new issue