layout tweaks

This commit is contained in:
zadam 2020-11-27 22:02:55 +01:00
parent 642bf9d113
commit 2a54ce803e
2 changed files with 6 additions and 6 deletions

View file

@ -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 {

View file

@ -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) {