Skip to content

Build your personal knowledge base with Trilium Notes

layout tweaks

zadam2a54ce803ec6
diff --git a/src/public/app/widgets/note_paths.js b/src/public/app/widgets/note_paths.js
index 660634c461..ff461f522b 100644
--- a/src/public/app/widgets/note_paths.js
+++ b/src/public/app/widgets/note_paths.js
@@ -9,7 +9,7 @@ const TPL = `
.note-paths-widget {
display: flex;
flex-direction: row;
- padding: 5px 10px 5px 10px;
+ padding: 12px 10px 5px 10px;
}
.note-path-list a.current {
diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js
index f705a298a2..2d7be01368 100644
--- a/src/public/app/widgets/note_tree.js
+++ b/src/public/app/widgets/note_tree.js
@@ -52,21 +52,21 @@ const TPL = `
.collapse-tree-button {
position: absolute;
bottom: 10px;
- right: 70px;
+ right: 80px;
z-index: 100;
}
.scroll-to-active-note-button {
position: absolute;
bottom: 10px;
- right: 35px;
+ right: 45px;
z-index: 100;
}
.tree-settings-button {
position: absolute;
bottom: 10px;
- right: 0px;
+ right: 10px;
z-index: 100;
}
@@ -78,7 +78,7 @@ const TPL = `
padding: 20px;
z-index: 1000;
width: 320px;
- border-radius: 10px 0 10px 10px;
+ border-radius: 10px;
}
ul.fancytree-container {
@@ -223,7 +223,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
let top = this.$treeSettingsButton[0].offsetTop;
let left = this.$treeSettingsButton[0].offsetLeft;
- top -= this.$treeSettingsPopup.outerHeight();
+ top -= this.$treeSettingsPopup.outerHeight() + 10;
left += this.$treeSettingsButton.outerWidth() - this.$treeSettingsPopup.outerWidth();
if (left < 0) {