From 1c1a927b3381cff8b5e48d28847a0118374eab37 Mon Sep 17 00:00:00 2001 From: chris <kokosias@yahoo.gr> Date: Tue, 11 Apr 2017 19:35:03 +0300 Subject: [PATCH] auto numbering for notes in mini editor --- app/components/SimpleEditor/panes/Notes/notes.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/components/SimpleEditor/panes/Notes/notes.scss b/app/components/SimpleEditor/panes/Notes/notes.scss index 22571be..c092ba0 100644 --- a/app/components/SimpleEditor/panes/Notes/notes.scss +++ b/app/components/SimpleEditor/panes/Notes/notes.scss @@ -3,6 +3,7 @@ $white: #fff; .notes-container { background-color: $white; bottom: 0; + counter-reset: note-footer; height: 95px; left: 130px; max-height: 700px; @@ -23,4 +24,10 @@ $white: #fff; .sc-isolated-node { border: 1px solid red!important; } + .sc-isolated-node::before { + content: ''counter(note-footer)'. '; + counter-increment: note-footer; + left: -40px; + position: absolute; +} } -- GitLab