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 eedbaa965c
commit f7f35f095b

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) => (