Skip to content

Build your personal knowledge base with Trilium Notes

fixed relation map sizing issue

azivner05e9669eafe3
diff --git a/src/public/stylesheets/relation_map.css b/src/public/stylesheets/relation_map.css
index f75320cf38..b1a35aaeae 100644
--- a/src/public/stylesheets/relation_map.css
+++ b/src/public/stylesheets/relation_map.css
@@ -5,9 +5,7 @@
#relation-map-wrapper {
position: relative;
- overflow: hidden !important;
- height: 4000px; /* we need to set fixed dimentions. This number is probably enough to cover any screen */
- width: 4000px;
+ height: 100%;
outline: none; /* remove dotted outline on click */
}
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 8e304454b6..b67986ebc3 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -76,6 +76,7 @@ body {
position: relative;
overflow: auto;
flex-basis: content;
+ height: 100%;
}
.note-detail-component {