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);