From 7e8151ddbf5c7382903920e9a5d3b61d06afcc7f Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Thu, 9 Jan 2025 12:29:59 -0300 Subject: [PATCH] fix: remove upper size limit for Notes (#5425) refactor: Remove limit constants and styles from NoteNode component allowing infinity resize --- src/frontend/src/CustomNodes/NoteNode/index.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/frontend/src/CustomNodes/NoteNode/index.tsx b/src/frontend/src/CustomNodes/NoteNode/index.tsx index 0519f2214..e3ecdee14 100644 --- a/src/frontend/src/CustomNodes/NoteNode/index.tsx +++ b/src/frontend/src/CustomNodes/NoteNode/index.tsx @@ -1,7 +1,5 @@ import { COLOR_OPTIONS, - NOTE_NODE_MAX_HEIGHT, - NOTE_NODE_MAX_WIDTH, NOTE_NODE_MIN_HEIGHT, NOTE_NODE_MIN_WIDTH, } from "@/constants/constants"; @@ -50,8 +48,6 @@ function NoteNode({ { const { width, height } = params; setSize({ width: width - 25, height: height - 25 }); @@ -62,8 +58,6 @@ function NoteNode({