Skip to content

Build your personal knowledge base with Trilium Notes

fix history navigation

zadam48b1aece4d61
diff --git a/src/public/javascripts/services/note_detail.js b/src/public/javascripts/services/note_detail.js
index 5570b43040..95237387a1 100644
--- a/src/public/javascripts/services/note_detail.js
+++ b/src/public/javascripts/services/note_detail.js
@@ -124,7 +124,7 @@ async function switchToTab(tabId, notePath) {
await tabContext.activate();
if (notePath && tabContext.notePath !== notePath) {
- await loadNoteDetail(notePath);
+ await treeService.activateNote(notePath);
}
}
}
diff --git a/src/public/stylesheets/relation_map.css b/src/public/stylesheets/relation_map.css
index 312b7f4697..973da6f452 100644
--- a/src/public/stylesheets/relation_map.css
+++ b/src/public/stylesheets/relation_map.css
@@ -1,6 +1,7 @@
.note-detail-relation-map {
height: 100%;
overflow: hidden !important;
+ padding-top: 10px;
}
.relation-map-wrapper {
diff --git a/src/views/details/relation_map.ejs b/src/views/details/relation_map.ejs
index 78ba95b0d0..02b6ec5e29 100644
--- a/src/views/details/relation_map.ejs
+++ b/src/views/details/relation_map.ejs
@@ -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>