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
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
gargantext
purescript-gargantext
Commits
ca7160ae
Commit
ca7160ae
authored
Dec 11, 2019
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Graph] some styling fixes
parent
db9ffc69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
Graph.css
dist/styles/Graph.css
+3
-0
Graph.sass
dist/styles/Graph.sass
+4
-0
GraphExplorer.purs
src/Gargantext/Components/GraphExplorer.purs
+1
-7
No files found.
dist/styles/Graph.css
View file @
ca7160ae
...
...
@@ -20,6 +20,9 @@
overflow-y
:
scroll
;
z-index
:
1
;
}
#graph-explorer
#graph-view
{
height
:
95%
;
}
#graph-explorer
#sp-container
{
position
:
absolute
;
left
:
70%
;
...
...
dist/styles/Graph.sass
View file @
ca7160ae
...
...
@@ -9,6 +9,7 @@
li
display
:
flex
max-width
:
200px
.row.controls
height
:
79px
...
...
@@ -19,6 +20,9 @@
overflow-y
:
scroll
z-index
:
1
#graph-view
height
:
95%
#sp-container
position
:
absolute
left
:
70%
...
...
src/Gargantext/Components/GraphExplorer.purs
View file @
ca7160ae
...
...
@@ -110,7 +110,7 @@ explorerCpt = R.hooksComponent "G.C.GraphExplorer.explorer" cpt
]
, rowControls [ Controls.controls controls ]
, row [ tree (fst controls.showTree) {sessions, mCurrentRoute, frontends} (snd showLogin)
, RH.div { ref: graphRef, id: "graph-view", className:
graphClassName controls, style: {height: "95%"}
} [] -- graph container
, RH.div { ref: graphRef, id: "graph-view", className:
"col-md-12"
} [] -- graph container
, graphView { controls
, elRef: graphRef
, graphId
...
...
@@ -129,12 +129,6 @@ explorerCpt = R.hooksComponent "G.C.GraphExplorer.explorer" cpt
]
]
graphClassName :: Record Controls.Controls -> String
--graphClassName {showSidePanel: (GET.Opened /\ _), showTree: (true /\ _)} = "col-md-8"
--graphClassName {showTree: (true /\ _)} = "col-md-10"
--graphClassName {showSidePanel: (GET.Opened /\ _)} = "col-md-10"
graphClassName _ = "col-md-12"
outer = RH.div { className: "col-md-12" }
inner = RH.div { className: "container-fluid", style: { paddingTop: "90px" } }
row1 = RH.div { className: "row", style: { paddingBottom: "10px", marginTop: "-24px" } }
...
...
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