fix: resolve scrolling issue on files page (#5618) (#5619)

This commit is contained in:
KumaKorin 2025-05-02 22:37:05 +08:00 committed by GitHub
parent 6601c7895d
commit fb3c18ff48

View File

@ -28,7 +28,7 @@ interface FileItemProps {
const FileList: React.FC<FileItemProps> = ({ id, list, files }) => {
if (id === FileTypes.IMAGE && files?.length && files?.length > 0) {
return (
<div style={{ padding: 16 }}>
<div style={{ padding: 16, overflowY: 'auto' }}>
<Image.PreviewGroup>
<Row gutter={[16, 16]}>
{files?.map((file) => (