Fix(explorer): customized img file icon should keep its aspect ratio in large grid view

This commit is contained in:
Aaron Liu 2025-05-23 15:34:18 +08:00
parent 5d4ea27505
commit 5c58055971

View File

@ -150,6 +150,7 @@ const FileTypeIcon = ({ name, fileType, notLoaded, sx, hideUnknown, customizedCo
sx={{
width: "24px",
height: "24px",
objectFit: "contain",
...sx,
}}
src={IconComponent.img}