feat: improve ai writing imitation flow

This commit is contained in:
董宏凯 committed 2026-07-01 17:16:12 +08:00
1 parent 0547fb1715
commit 025e43f4c5
14 files changed
+927 -117

No files matched your search

@@ -302,7 +302,7 @@ export function AIWritingForm({
disabled={disabled || sampleUploading}
rows={8}
maxLength={MAX_SAMPLE_TEXT_LENGTH}
className="resize-none rounded-2xl border-[#e8dedd] bg-white px-4 py-3 text-sm leading-6 shadow-sm"
className="max-h-[13.5rem] resize-none overflow-y-auto rounded-2xl border-[#e8dedd] bg-white px-4 py-3 text-sm leading-6 shadow-sm [field-sizing:fixed]"
/>
<div className="flex items-center justify-between gap-3 text-xs text-muted-foreground/80">
<span>{sampleText.length} / {MAX_SAMPLE_TEXT_LENGTH} 字</span>