fix history navigation

This commit is contained in:
zadam 2019-05-21 22:35:01 +02:00
parent eee75bd2e8
commit 48b1aece4d
3 changed files with 4 additions and 3 deletions

View File

@ -124,7 +124,7 @@ async function switchToTab(tabId, notePath) {
await tabContext.activate();
if (notePath && tabContext.notePath !== notePath) {
await loadNoteDetail(notePath);
await treeService.activateNote(notePath);
}
}
}

View File

@ -1,6 +1,7 @@
.note-detail-relation-map {
height: 100%;
overflow: hidden !important;
padding-top: 10px;
}
.relation-map-wrapper {

View File

@ -9,9 +9,9 @@
<button type="button"
class="relation-map-reset-pan-zoom btn icon-button floating-button jam jam-crop"
title="Reset pan & zoom to initial coordinates and magnification"
style="right: 100px;"></button>
style="right: 70px;"></button>
<div class="btn-group floating-button" style="right: 40px;">
<div class="btn-group floating-button" style="right: 10px;">
<button type="button"
class="relation-map-zoom-in btn icon-button jam jam-search-plus"
title="Zoom In"></button>