wwf
2 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
app/components/base/prompt-editor/plugins/placeholder.tsx
@@ -16,8 +16,8 @@
  return (
    <div className={cn(
      className,
      'pointer-events-none absolute left-0 top-0 h-full w-full select-none text-sm text-components-input-text-placeholder',
      compact ? 'text-[13px] leading-5' : 'text-sm leading-6',
      'absolute top-0 left-0 h-full w-full text-sm text-components-input-text-placeholder select-none pointer-events-none',
      compact ? 'leading-5 text-[13px]' : 'leading-6 text-sm',
    )}>
      {value || t('common.promptEditor.placeholder')}
    </div>