chore(react/type_widget): fix sizing

This commit is contained in:
Elian Doran
2025-09-20 11:29:28 +03:00
parent 6bcce08042
commit e576fa03da
5 changed files with 11 additions and 11 deletions

View File

@@ -25,6 +25,9 @@ type ExtendedNoteType = Exclude<NoteType, "launcher" | "text" | "code"> | "empty
/**
* The note detail is in charge of rendering the content of a note, by determining its type (e.g. text, code) and using the appropriate view widget.
*
* Apart from that:
* - It applies a full-height style depending on the content type (e.g. canvas notes).
*/
export default function NoteDetail() {
const { note, type, noteContext, parentComponent } = useNoteInfo();