Merge pull request #582 from ajnart/fix-svg-images

🐛 #579 fix svg images for app tiles
This commit is contained in:
Thomas Camlong
2023-01-19 08:29:50 +09:00
committed by GitHub

View File

@@ -29,8 +29,7 @@ export const AppTile = ({ className, app }: AppTileProps) => {
<Text align="center" weight={500} size="md" className={classes.appName}>
{app.name}
</Text>
<Center style={{ height: '85%', flex: 1 }}>
{/* eslint-disable-next-line @next/next/no-img-element */}
<Center style={{ height: '85%', flex: 1, width: '85%' }}>
<motion.img
className={classes.image}
src={app.appearance.iconUrl}