Skip to content

Commit

Permalink
fix: workflow note editor placeholder (#14380)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxhlyh authored Feb 26, 2025
1 parent bafa463 commit 1aaab74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion web/app/components/workflow/note-node/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const NoteNode = ({
)}></div>
{
data.selected && (
<div className='absolute -top-[41px] left-1/2 -translate-x-1/2'>
<div className='absolute top-[-41px] left-1/2 -translate-x-1/2'>
<NoteEditorToolbar
theme={theme}
onThemeChange={handleThemeChange}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const Editor = ({
onBlur={() => setShortcutsEnabled(true)}
spellCheck={false}
className='w-full h-full outline-none text-text-secondary caret-primary-600'
placeholder={placeholder}
/>
</div>
}
Expand Down

0 comments on commit 1aaab74

Please sign in to comment.