From 642bf9d11306040886e17e415c347e26cde30b6e Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 27 Nov 2020 21:57:41 +0100 Subject: [PATCH] layout tweaks --- src/public/app/widgets/note_paths.js | 1 - src/public/app/widgets/note_tree.js | 8 ++++---- src/public/app/widgets/standard_top_widget.js | 7 ++++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/public/app/widgets/note_paths.js b/src/public/app/widgets/note_paths.js index 6ea8e1a1b..660634c46 100644 --- a/src/public/app/widgets/note_paths.js +++ b/src/public/app/widgets/note_paths.js @@ -9,7 +9,6 @@ const TPL = ` .note-paths-widget { display: flex; flex-direction: row; - border-bottom: 1px solid var(--main-border-color); padding: 5px 10px 5px 10px; } diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js index 79057239e..f705a298a 100644 --- a/src/public/app/widgets/note_tree.js +++ b/src/public/app/widgets/note_tree.js @@ -51,21 +51,21 @@ const TPL = ` .collapse-tree-button { position: absolute; - top: 10px; + bottom: 10px; right: 70px; z-index: 100; } .scroll-to-active-note-button { position: absolute; - top: 10px; + bottom: 10px; right: 35px; z-index: 100; } .tree-settings-button { position: absolute; - top: 10px; + bottom: 10px; right: 0px; z-index: 100; } @@ -223,7 +223,7 @@ export default class NoteTreeWidget extends TabAwareWidget { let top = this.$treeSettingsButton[0].offsetTop; let left = this.$treeSettingsButton[0].offsetLeft; - top += this.$treeSettingsButton.outerHeight(); + top -= this.$treeSettingsPopup.outerHeight(); left += this.$treeSettingsButton.outerWidth() - this.$treeSettingsPopup.outerWidth(); if (left < 0) { diff --git a/src/public/app/widgets/standard_top_widget.js b/src/public/app/widgets/standard_top_widget.js index 366babf51..30dfdd900 100644 --- a/src/public/app/widgets/standard_top_widget.js +++ b/src/public/app/widgets/standard_top_widget.js @@ -15,7 +15,7 @@ const TPL = ` .standard-top-widget button { padding: 1px 5px 1px 5px; - font-size: smaller; + font-size: 90%; margin-bottom: 2px; margin-top: 2px; margin-right: 8px; @@ -24,7 +24,8 @@ const TPL = ` .standard-top-widget button.btn-sm .bx { position: relative; - top: 1px; + top: 2px; + font-size: 120%; } .standard-top-widget button:hover { @@ -39,7 +40,7 @@ const TPL = `