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
0519117f
Commit
0519117f
authored
Nov 23, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[contextMenu] fix for context menu positioning
parent
ea1147e6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
Styles.css
dist/styles/Styles.css
+4
-0
Styles.sass
dist/styles/Styles.sass
+3
-0
ContextMenu.purs
src/Gargantext/Components/ContextMenu/ContextMenu.purs
+1
-0
Core.purs
src/Gargantext/Components/NgramsTable/Core.purs
+6
-6
No files found.
dist/styles/Styles.css
View file @
0519117f
...
@@ -30,4 +30,8 @@
...
@@ -30,4 +30,8 @@
padding
:
10px
;
padding
:
10px
;
}
}
.context-menu
{
position
:
fixed
;
}
/*# sourceMappingURL=Styles.css.map */
/*# sourceMappingURL=Styles.css.map */
dist/styles/Styles.sass
View file @
0519117f
...
@@ -24,3 +24,6 @@
...
@@ -24,3 +24,6 @@
.doc-chooser
.doc-chooser
cursor
:
pointer
cursor
:
pointer
padding
:
10px
padding
:
10px
.context-menu
position
:
fixed
src/Gargantext/Components/ContextMenu/ContextMenu.purs
View file @
0519117f
...
@@ -21,6 +21,7 @@ import Reactix.DOM.HTML as HTML
...
@@ -21,6 +21,7 @@ import Reactix.DOM.HTML as HTML
import Gargantext.Utils.Reactix as R2
import Gargantext.Utils.Reactix as R2
thisModule :: String
thisModule = "Gargantext.Components.ContextMenu.ContextMenu"
thisModule = "Gargantext.Components.ContextMenu.ContextMenu"
type Props t = (
type Props t = (
...
...
src/Gargantext/Components/NgramsTable/Core.purs
View file @
0519117f
...
@@ -329,15 +329,15 @@ _NgramsRepoElement :: Iso' NgramsRepoElement {
...
@@ -329,15 +329,15 @@ _NgramsRepoElement :: Iso' NgramsRepoElement {
_NgramsRepoElement = _Newtype
_NgramsRepoElement = _Newtype
ngramsRepoElementToNgramsElement :: NgramsTerm -> Int -> NgramsRepoElement -> NgramsElement
ngramsRepoElementToNgramsElement :: NgramsTerm -> Int -> NgramsRepoElement -> NgramsElement
ngramsRepoElementToNgramsElement ngrams occurrences (NgramsRepoElement {
size, list, root, parent, children
}) =
ngramsRepoElementToNgramsElement ngrams occurrences (NgramsRepoElement {
children, list, parent, root, size
}) =
NgramsElement
NgramsElement
{ ngrams
{ children
, size -- TODO should we assert that size(ngrams) == size?
, list
, list
, root
, ngrams
, parent
, children
, occurrences
, occurrences
, parent
, root
, size -- TODO should we assert that size(ngrams) == 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