mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-15 05:04:27 +08:00
Fix: If a message contains multiple files, they need to be displayed with automatic line wrapping. (#18109)
This commit is contained in:
@@ -47,7 +47,7 @@ function NameWidget({ name, size }: NameWidgetType) {
|
||||
}
|
||||
export function InnerUploadedMessageFiles({ files = [] }: IProps) {
|
||||
return (
|
||||
<section className="flex gap-2 pt-2">
|
||||
<section className="flex gap-2 pt-2 flex-wrap">
|
||||
{files?.map((file, idx) => {
|
||||
const name = file.name;
|
||||
const isFile = file instanceof File;
|
||||
|
||||
Reference in New Issue
Block a user