🚑 Hotfix app width

This commit is contained in:
ajnart
2023-08-13 07:46:12 +02:00
parent 7ce09af5a8
commit 470b4155f7

View File

@@ -60,12 +60,19 @@ export const AppTile = ({ className, app }: AppTileProps) => {
</Text>
)}
<motion.img
className={cx(classes.appImage, 'dashboard-tile-app-image')}
className={cx('dashboard-tile-app-image')}
src={app.appearance.iconUrl}
height="85%"
width="85%"
alt={app.name}
whileHover={{ scale: 0.9 }}
initial={{ scale: 0.8 }}
style={{
maxHeight: '90%',
maxWidth: '90%',
flex: 1,
overflow: 'auto',
objectFit: 'contain',
width: isRow ? 0 : undefined,
}}
/>
@@ -114,11 +121,6 @@ const useStyles = createStyles((theme, _params, getRef) => ({
appName: {
wordBreak: 'break-word',
},
appImage: {
flex: '1',
objectFit: 'contain',
overflowY: 'auto',
},
button: {
height: '100%',
width: '100%',