fix: make edit sticky notes mode occupy whole note (#7012)

* Fixed padding and text size on node description

* Add flex-1 to not be resizable
This commit is contained in:
Lucas Oliveira 2025-03-11 12:27:01 -03:00 committed by GitHub
commit 3480fb160f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ export default function NodeDescription({
<Textarea
maxLength={charLimit}
className={cn(
"nowheel h-full w-full focus:border-primary focus:ring-0",
"nowheel h-full w-full p-0 text-[13px] focus:border-primary focus:ring-0",
inputClassName,
)}
autoFocus

View file

@ -151,7 +151,7 @@ function NoteNode({
overflow: "hidden",
}}
className={cn(
"transition-all duration-200 ease-in-out",
"flex-1 transition-all duration-200 ease-in-out",
!isResizing && "transition-[width,height]",
)}
>