fix(type_widgets/notemap): bottom part not visible

This commit is contained in:
Elian Doran 2025-11-29 15:30:17 +02:00
parent 3c61626370
commit cd2a085d00
No known key found for this signature in database
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
.note-detail-note-map {
&>div {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
}
}

View File

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