mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
Fix(explorer): customized img file icon should keep its aspect ratio in large grid view
This commit is contained in:
parent
5d4ea27505
commit
5c58055971
|
|
@ -150,6 +150,7 @@ const FileTypeIcon = ({ name, fileType, notLoaded, sx, hideUnknown, customizedCo
|
|||
sx={{
|
||||
width: "24px",
|
||||
height: "24px",
|
||||
objectFit: "contain",
|
||||
...sx,
|
||||
}}
|
||||
src={IconComponent.img}
|
||||
|
|
|
|||
Loading…
Reference in New Issue