Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sfu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
sfu
Commits
71f5db03
Commit
71f5db03
authored
Sep 04, 2020
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix display login form and video on mibile
parent
e5ccc822
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
5 deletions
+19
-5
static/sfu.css
static/sfu.css
+17
-4
static/sfu.js
static/sfu.js
+2
-1
No files found.
static/sfu.css
View file @
71f5db03
...
...
@@ -880,10 +880,6 @@ header .colapse {
display
:
none
;
}
.label
{
margin
:
5px
5px
5px
30%
;
}
.video-container
{
height
:
calc
(
100vh
-
64px
);
position
:
fixed
;
...
...
@@ -893,6 +889,19 @@ header .colapse {
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
{
flex
:
100%
;
width
:
100vw
;
...
...
@@ -943,4 +952,8 @@ header .colapse {
display
:
none
;
}
#sharebutton
{
display
:
none
;
}
}
static/sfu.js
View file @
71f5db03
...
...
@@ -60,6 +60,7 @@ function hideVideo(force) {
}
let
video_container
=
document
.
getElementById
(
'
video-container
'
);
video_container
.
classList
.
add
(
'
no-video
'
);
document
.
getElementById
(
'
switch-video
'
).
style
.
display
=
""
;
}
/**
...
...
@@ -648,7 +649,7 @@ function resizePeers() {
return
;
let
rows
=
""
;
let
size
=
100
/
columns
;
// Peers div has
padding 10 on top and bottom, remove 2
0 on offsetHeight
// Peers div has
total padding of 30px, we remove 3
0 on offsetHeight
let
max_video_height
=
Math
.
trunc
((
peers
.
offsetHeight
-
30
)
/
columns
);
for
(
let
i
=
0
;
i
<
columns
;
i
++
){
rows
+=
size
+
"
%
"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment