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
30adc599
Commit
30adc599
authored
Nov 22, 2023
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/546-dev-ngrams-scroll-position' into dev
parents
47c338f3
b9846ccb
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
57 additions
and
12 deletions
+57
-12
bootstrap-darkster.css
dist/styles/bootstrap-darkster.css
+5
-0
bootstrap-default.css
dist/styles/bootstrap-default.css
+5
-0
bootstrap-greyson.css
dist/styles/bootstrap-greyson.css
+5
-0
bootstrap-herbie.css
dist/styles/bootstrap-herbie.css
+5
-0
bootstrap-monotony.css
dist/styles/bootstrap-monotony.css
+5
-0
Tree.purs
src/Gargantext/Components/NgramsTable/Tree.purs
+28
-12
_list.sass
src/sass/_legacy/_list.sass
+4
-0
No files found.
dist/styles/bootstrap-darkster.css
View file @
30adc599
...
...
@@ -11492,6 +11492,11 @@ select.form-control {
font-size
:
0.85rem
;
}
.tree-expanded
{
padding-top
:
12px
;
padding-bottom
:
12px
;
}
.annotation-run
{
cursor
:
pointer
;
}
...
...
dist/styles/bootstrap-default.css
View file @
30adc599
...
...
@@ -11296,6 +11296,11 @@ select.form-control {
font-size
:
0.85rem
;
}
.tree-expanded
{
padding-top
:
12px
;
padding-bottom
:
12px
;
}
.annotation-run
{
cursor
:
pointer
;
}
...
...
dist/styles/bootstrap-greyson.css
View file @
30adc599
...
...
@@ -11058,6 +11058,11 @@ select.form-control {
font-size
:
0.85rem
;
}
.tree-expanded
{
padding-top
:
12px
;
padding-bottom
:
12px
;
}
.annotation-run
{
cursor
:
pointer
;
}
...
...
dist/styles/bootstrap-herbie.css
View file @
30adc599
...
...
@@ -11306,6 +11306,11 @@ select.form-control {
font-size
:
0.85rem
;
}
.tree-expanded
{
padding-top
:
12px
;
padding-bottom
:
12px
;
}
.annotation-run
{
cursor
:
pointer
;
}
...
...
dist/styles/bootstrap-monotony.css
View file @
30adc599
...
...
@@ -11307,6 +11307,11 @@ select.form-control {
font-size
:
0.85rem
;
}
.tree-expanded
{
padding-top
:
12px
;
padding-bottom
:
12px
;
}
.annotation-run
{
cursor
:
pointer
;
}
...
...
src/Gargantext/Components/NgramsTable/Tree.purs
View file @
30adc599
...
...
@@ -2,6 +2,7 @@ module Gargantext.Components.NgramsTable.Tree where
import Gargantext.Prelude
import Data.Array (length)
import Data.Array as A
import Data.Lens ((^..), (^.), view)
import Data.Lens.Fold (folded)
...
...
@@ -291,18 +292,33 @@ renderNgramsItemCpt = here.component "renderNgramsItem" cpt
H.div {}
( if isEditing'
then
[
B.iconButton
{ name: "plus"
, className: "mr-1 align-bottom"
, overlay: false
, variant: Primary
, callback: const $ dispatch $ ToggleChild true ngrams
}
,
R2.buff $
tag [ text $ " " <> ngramsTermText ngramsDepth.ngrams ]
]
if (length $ getNgramsChildren' ngrams) > 0
then
[ H.div {className: "tree-expanded"} [
B.iconButton
{ name: "plus"
, className: "mr-1 align-bottom"
, overlay: false
, variant: Primary
, callback: const $ dispatch $ ToggleChild true ngrams
}
,
R2.buff $
tag [ text $ " " <> ngramsTermText ngramsDepth.ngrams ]
] ]
else
[
B.iconButton
{ name: "plus"
, className: "mr-1 align-bottom"
, overlay: false
, variant: Primary
, callback: const $ dispatch $ ToggleChild true ngrams
}
,
R2.buff $
tag [ text $ " " <> ngramsTermText ngramsDepth.ngrams ]
]
else
[
renderNgramsTree
...
...
src/sass/_legacy/_list.sass
View file @
30adc599
...
...
@@ -335,3 +335,7 @@
.context-item-date
color
:
$gray-600
font-size
:
.85rem
.tree-expanded
padding-top
:
12px
padding-bottom
:
12px
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