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
9249aba2
Commit
9249aba2
authored
Jan 16, 2020
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Markdown] some simple styling for the editor
parent
3b7406de
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
1 deletion
+25
-1
MarkdownEditor.css
dist/styles/MarkdownEditor.css
+13
-0
MarkdownEditor.sass
dist/styles/MarkdownEditor.sass
+8
-0
MarkdownEditor.purs
src/Gargantext/Components/MarkdownEditor.purs
+3
-1
index.html
src/index.html
+1
-0
No files found.
dist/styles/MarkdownEditor.css
0 → 100644
View file @
9249aba2
.markdown-editor
{
display
:
flex
;
width
:
100%
;
}
.markdown-editor
.md
{
width
:
40%
;
}
.markdown-editor
.html
{
width
:
60%
;
padding-left
:
10px
;
}
/*# sourceMappingURL=MarkdownEditor.css.map */
dist/styles/MarkdownEditor.sass
0 → 100644
View file @
9249aba2
.markdown-editor
display
:
flex
width
:
100%
.md
width
:
40%
.html
width
:
60%
padding-left
:
10px
src/Gargantext/Components/MarkdownEditor.purs
View file @
9249aba2
...
...
@@ -54,7 +54,9 @@ markdownEditorCpt = R.hooksComponent "G.C.MarkdownEditor" cpt
pure $ H.div { className: "markdown-editor" } [
H.div { className: "md" } [
H.textarea { on: {change: onChange ref editedMd} } [ H.text $ fst editedMd ]
H.textarea { className: "form-control"
, rows: 30
, on: {change: onChange ref editedMd} } [ H.text $ fst editedMd ]
]
, H.div { ref, className: "html" } []
]
...
...
src/index.html
View file @
9249aba2
...
...
@@ -13,6 +13,7 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"styles/menu.css"
/>
<link
href=
"styles/Graph.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"styles/Login.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"styles/MarkdownEditor.css"
rel=
"stylesheet"
type=
"text/css"
/>
<link
href=
"styles/range-slider.css"
rel=
"stylesheet"
type=
"text/css"
/>
<style>
*
{
margin
:
0
;
padding
:
0
;
list-style
:
none
;}
...
...
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