fix: download image size is incorrect

This commit is contained in:
jialin
2025-02-05 16:27:01 +08:00
parent 2c0ae66143
commit 8cbaa6b281
6 changed files with 91 additions and 26 deletions
+4 -1
View File
@@ -7,7 +7,10 @@ const FileParts: React.FC<{
fileList: any[];
}> = ({ fileList }) => {
return (
<SimpleBar style={{ maxHeight: 200 }}>
<SimpleBar
style={{ maxHeight: 200 }}
classNames={{ scrollbar: 'scrollbar-handle-light simplebar-scrollbar' }}
>
<div style={{ padding: 10 }}>
{fileList.map((file, index) => {
return (