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
911f5778
Commit
911f5778
authored
Nov 19, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Forest][Box] CSS fix.
parent
0ec239cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
7 deletions
+30
-7
Login.css
dist/styles/Login.css
+12
-1
Login.sass
dist/styles/Login.sass
+11
-1
DocsTable.purs
src/Gargantext/Components/DocsTable.purs
+1
-1
Box.purs
src/Gargantext/Components/Forest/Tree/Node/Box.purs
+6
-4
No files found.
dist/styles/Login.css
View file @
911f5778
...
...
@@ -179,8 +179,19 @@ li:hover a#rename-leaf {
padding-right
:
6px
;
}
.
tagDoc
{
.
flex
{
display
:
flex
;
}
.flex-end
{
display
:
flex
;
justify-content
:
flex-end
;
}
.flex-center
{
display
:
flex
;
flew-wrap
:
wrap
;
justify-content
:
center
;
}
/*# sourceMappingURL=Login.css.map */
dist/styles/Login.sass
View file @
911f5778
...
...
@@ -171,5 +171,15 @@ li
.reload-btn
padding-right
:
6px
.
tagDoc
.
flex
display
:
flex
.flex-end
display
:
flex
justify-content
:
flex-end
.flex-center
display
:
flex
flew-wrap
:
wrap
justify-content
:
center
src/Gargantext/Components/DocsTable.purs
View file @
911f5778
...
...
@@ -74,7 +74,7 @@ cat2score Topic = 3
cat2score Favorite = 4
-- caroussel :: Category -> R.Element
caroussel session nodeId setLocalCategories r cat = H.div {className:"
tagDoc
"} divs
caroussel session nodeId setLocalCategories r cat = H.div {className:"
flex
"} divs
where
divs = map (\c -> if cat == c
then
...
...
src/Gargantext/Components/Forest/Tree/Node/Box.purs
View file @
911f5778
...
...
@@ -236,13 +236,15 @@ nodePopupView d p mPop@(Just NodePopup /\ setPopupOpen) = R.createElement el p [
H.div {className: "row" }
[
H.div {className: "col-md-8"} [ renameBox d {id, name, nodeType} renameBoxOpen ]
, if edit then editIcon renameBoxOpen else H.div {} []
, H.div {className: "flex-end"} [
if edit then editIcon renameBoxOpen else H.div {} []
, H.div {className: "col-md-1"}
[ H.a { "type" : "button"
, className: glyphicon "remove-circle"
, onClick: mkEffectFn1 $ \_ -> setPopupOpen $ const Nothing
, title: "Close"} []
]
]
]
]
where
...
...
@@ -267,9 +269,9 @@ nodePopupView d p mPop@(Just NodePopup /\ setPopupOpen) = R.createElement el p [
}
}
$
[H.div {className: "col-md-1"} []]
<>
(map (buttonClick nodePopupState d) buttons)
--
[H.div {className: "col-md-1"} []]
--
<>
[H.div {className: "flex-center"} (map (buttonClick nodePopupState d) buttons)]
searchPanel id session =
H.div { className: "panel panel-default"
...
...
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