Commit 0519117f authored by Przemyslaw Kaminski's avatar Przemyslaw Kaminski

[contextMenu] fix for context menu positioning

parent ea1147e6
......@@ -30,4 +30,8 @@
padding: 10px;
}
.context-menu {
position: fixed;
}
/*# sourceMappingURL=Styles.css.map */
......@@ -24,3 +24,6 @@
.doc-chooser
cursor: pointer
padding: 10px
.context-menu
position: fixed
......@@ -21,6 +21,7 @@ import Reactix.DOM.HTML as HTML
import Gargantext.Utils.Reactix as R2
thisModule :: String
thisModule = "Gargantext.Components.ContextMenu.ContextMenu"
type Props t = (
......
......@@ -329,15 +329,15 @@ _NgramsRepoElement :: Iso' NgramsRepoElement {
_NgramsRepoElement = _Newtype
ngramsRepoElementToNgramsElement :: NgramsTerm -> Int -> NgramsRepoElement -> NgramsElement
ngramsRepoElementToNgramsElement ngrams occurrences (NgramsRepoElement { size, list, root, parent, children }) =
ngramsRepoElementToNgramsElement ngrams occurrences (NgramsRepoElement { children, list, parent, root, size }) =
NgramsElement
{ ngrams
, size -- TODO should we assert that size(ngrams) == size?
{ children
, list
, root
, parent
, children
, ngrams
, occurrences
, parent
, root
, size -- TODO should we assert that size(ngrams) == size?
}
-----------------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment