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:
parent
183785f3e3
commit
3480fb160f
2 changed files with 2 additions and 2 deletions
|
|
@ -153,7 +153,7 @@ export default function NodeDescription({
|
||||||
<Textarea
|
<Textarea
|
||||||
maxLength={charLimit}
|
maxLength={charLimit}
|
||||||
className={cn(
|
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,
|
inputClassName,
|
||||||
)}
|
)}
|
||||||
autoFocus
|
autoFocus
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,7 @@ function NoteNode({
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
}}
|
}}
|
||||||
className={cn(
|
className={cn(
|
||||||
"transition-all duration-200 ease-in-out",
|
"flex-1 transition-all duration-200 ease-in-out",
|
||||||
!isResizing && "transition-[width,height]",
|
!isResizing && "transition-[width,height]",
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue