Skip to content

Build your personal knowledge base with Trilium Notes

fix(type_widgets/notemap): bottom part not visible

Elian Dorancd2a085d0051
diff --git a/apps/client/src/widgets/type_widgets/NoteMap.css b/apps/client/src/widgets/type_widgets/NoteMap.css
new file mode 100644
index 0000000000..0afa0f4d24
--- /dev/null
+++ b/apps/client/src/widgets/type_widgets/NoteMap.css
@@ -0,0 +1,10 @@
+.note-detail-note-map {
+ &>div {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ overflow: hidden;
+ }
+}
\ No newline at end of file
diff --git a/apps/client/src/widgets/type_widgets/NoteMap.tsx b/apps/client/src/widgets/type_widgets/NoteMap.tsx
index 7a308151c5..aca9f68d18 100644
--- a/apps/client/src/widgets/type_widgets/NoteMap.tsx
+++ b/apps/client/src/widgets/type_widgets/NoteMap.tsx
@@ -1,6 +1,7 @@
import { TypeWidgetProps } from "./type_widget";
import NoteMapEl from "../note_map/NoteMap";
import { useRef } from "preact/hooks";
+import "./NoteMap.css";
export default function NoteMap({ note }: TypeWidgetProps) {
const containerRef = useRef<HTMLDivElement>(null);