Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
306f656b
Commit
306f656b
authored
Jan 20, 2022
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[visio-frame] fix visio frame width/height
parent
90b98be0
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
4 deletions
+17
-4
sass.css
dist/styles/sass.css
+4
-0
sass.css.map
dist/styles/sass.css.map
+1
-1
Frame.purs
src/Gargantext/Components/Nodes/Frame.purs
+5
-2
JitsiMeet.purs
src/Gargantext/Utils/JitsiMeet.purs
+3
-1
_styles.sass
src/sass/_styles.sass
+4
-0
No files found.
dist/styles/sass.css
View file @
306f656b
...
...
@@ -1029,6 +1029,10 @@ select.form-control {
top
:
6px
;
}
.jitsi-iframe
{
height
:
40em
;
}
.range
{
width
:
400px
;
/* some space for the right knob */
...
...
dist/styles/sass.css.map
View file @
306f656b
This diff is collapsed.
Click to expand it.
src/Gargantext/Components/Nodes/Frame.purs
View file @
306f656b
...
...
@@ -137,10 +137,13 @@ nodeFrameVisioCpt = here.component "nodeFrameVisio" cpt
case toMaybe (R.readRef ref) of
Nothing -> pure unit
Just r -> do
api <- JM.jitsiMeetAPI (WURL.host url) { parentNode: r, roomName: frame_id }
api <- JM.jitsiMeetAPI (WURL.host url) { parentNode: r
, roomName: frame_id
, width: "100%"
, height: "100%" }
here.log2 "[nodeFrameVisio] api" api
pure $ H.div { ref
} [ H.text $ WURL.host url
]
pure $ H.div { ref
, className: "jitsi-iframe" } [
]
type LoadProps = ( nodeId :: Int
, session :: Session )
...
...
src/Gargantext/Utils/JitsiMeet.purs
View file @
306f656b
...
...
@@ -9,7 +9,9 @@ foreign import data JitsiMeet :: Type
type Jitsi =
{ parentNode :: DOM.Element
, roomName :: String }
, roomName :: String
, width :: String
, height :: String }
foreign import _api :: JitsiMeet
foreign import _jitsiMeetAPI :: EffectFn2 String Jitsi JitsiMeet
...
...
src/sass/_styles.sass
View file @
306f656b
...
...
@@ -183,3 +183,7 @@ select.form-control
height
:
$spinner-size
left
:
$spinner-left-offset
top
:
$spinner-top-offset
.jitsi-iframe
height
:
40em
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