From 054420225f2066653c6e2a54ff7de9eab7297d88 Mon Sep 17 00:00:00 2001 From: zadam Date: Thu, 9 Jul 2020 00:07:14 +0200 Subject: [PATCH] added experimental "save" button --- src/public/app/widgets/note_attributes.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/public/app/widgets/note_attributes.js b/src/public/app/widgets/note_attributes.js index 4be71358b..385ad148f 100644 --- a/src/public/app/widgets/note_attributes.js +++ b/src/public/app/widgets/note_attributes.js @@ -95,6 +95,7 @@ const TPL = ` max-height: 200px; overflow: auto; padding-bottom: 5px; + padding-left: 7px; } .note-attributes-editor p { @@ -147,6 +148,16 @@ const TPL = ` border-color: red; } + .save-attributes-button { + color: var(--muted-text-color); + position: absolute; + bottom: 3px; + right: 25px; + cursor: pointer; + border: 1px solid transparent; + font-size: 130%; + } + .add-new-attribute-button { color: var(--muted-text-color); position: absolute; @@ -154,9 +165,10 @@ const TPL = ` right: 0; cursor: pointer; border: 1px solid transparent; + font-size: 130%; } - .add-new-attribute-button:hover { + .add-new-attribute-button:hover, .save-attributes-button:hover { border: 1px solid var(--main-border-color); border-radius: 2px; } @@ -174,7 +186,9 @@ const TPL = `
-
+
+ +