mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-09 12:54:47 +08:00
Fix: The PromptEditor's placeholder is only half displayed. (#14161)
### What problem does this PR solve? Fix: The PromptEditor's placeholder is only half displayed. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -237,7 +237,7 @@ export const PromptEditor = forwardRef(function PromptEditor(
|
||||
placeholder={
|
||||
<div
|
||||
className={cn(
|
||||
'-z-10 absolute top-1 left-2 text-text-disabled pointer-events-none',
|
||||
'-z-10 absolute top-4 left-2 text-text-disabled pointer-events-none',
|
||||
{
|
||||
'truncate max-w-[calc(100%-4rem)]': !multiLine,
|
||||
'translate-y-9': multiLine,
|
||||
|
||||
Reference in New Issue
Block a user