layout tweaks

This commit is contained in:
zadam 2020-11-27 21:57:41 +01:00
parent 31746e7baf
commit 642bf9d113
3 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,6 @@ const TPL = `
.note-paths-widget { .note-paths-widget {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
border-bottom: 1px solid var(--main-border-color);
padding: 5px 10px 5px 10px; padding: 5px 10px 5px 10px;
} }

View File

@ -51,21 +51,21 @@ const TPL = `
.collapse-tree-button { .collapse-tree-button {
position: absolute; position: absolute;
top: 10px; bottom: 10px;
right: 70px; right: 70px;
z-index: 100; z-index: 100;
} }
.scroll-to-active-note-button { .scroll-to-active-note-button {
position: absolute; position: absolute;
top: 10px; bottom: 10px;
right: 35px; right: 35px;
z-index: 100; z-index: 100;
} }
.tree-settings-button { .tree-settings-button {
position: absolute; position: absolute;
top: 10px; bottom: 10px;
right: 0px; right: 0px;
z-index: 100; z-index: 100;
} }
@ -223,7 +223,7 @@ export default class NoteTreeWidget extends TabAwareWidget {
let top = this.$treeSettingsButton[0].offsetTop; let top = this.$treeSettingsButton[0].offsetTop;
let left = this.$treeSettingsButton[0].offsetLeft; let left = this.$treeSettingsButton[0].offsetLeft;
top += this.$treeSettingsButton.outerHeight(); top -= this.$treeSettingsPopup.outerHeight();
left += this.$treeSettingsButton.outerWidth() - this.$treeSettingsPopup.outerWidth(); left += this.$treeSettingsButton.outerWidth() - this.$treeSettingsPopup.outerWidth();
if (left < 0) { if (left < 0) {

View File

@ -15,7 +15,7 @@ const TPL = `
.standard-top-widget button { .standard-top-widget button {
padding: 1px 5px 1px 5px; padding: 1px 5px 1px 5px;
font-size: smaller; font-size: 90%;
margin-bottom: 2px; margin-bottom: 2px;
margin-top: 2px; margin-top: 2px;
margin-right: 8px; margin-right: 8px;
@ -24,7 +24,8 @@ const TPL = `
.standard-top-widget button.btn-sm .bx { .standard-top-widget button.btn-sm .bx {
position: relative; position: relative;
top: 1px; top: 2px;
font-size: 120%;
} }
.standard-top-widget button:hover { .standard-top-widget button:hover {
@ -39,7 +40,7 @@ const TPL = `
</button> </button>
<button class="btn btn-sm jump-to-note-dialog-button" data-trigger-command="jumpToNote"> <button class="btn btn-sm jump-to-note-dialog-button" data-trigger-command="jumpToNote">
<span class="bx bx-crosshair"></span> <span class="bx bx-send"></span>
Jump to note Jump to note
</button> </button>