From cd2a085d005130bf3d9ae54fa38ba1487bce11d5 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 29 Nov 2025 15:30:17 +0200 Subject: [PATCH] fix(type_widgets/notemap): bottom part not visible --- apps/client/src/widgets/type_widgets/NoteMap.css | 10 ++++++++++ apps/client/src/widgets/type_widgets/NoteMap.tsx | 1 + 2 files changed, 11 insertions(+) create mode 100644 apps/client/src/widgets/type_widgets/NoteMap.css 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 000000000..0afa0f4d2 --- /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 7a308151c..aca9f68d1 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(null);