mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🚑 Hotfix app width
This commit is contained in:
@@ -60,12 +60,19 @@ export const AppTile = ({ className, app }: AppTileProps) => {
|
|||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
<motion.img
|
<motion.img
|
||||||
className={cx(classes.appImage, 'dashboard-tile-app-image')}
|
className={cx('dashboard-tile-app-image')}
|
||||||
src={app.appearance.iconUrl}
|
src={app.appearance.iconUrl}
|
||||||
|
height="85%"
|
||||||
|
width="85%"
|
||||||
alt={app.name}
|
alt={app.name}
|
||||||
whileHover={{ scale: 0.9 }}
|
whileHover={{ scale: 0.9 }}
|
||||||
initial={{ scale: 0.8 }}
|
initial={{ scale: 0.8 }}
|
||||||
style={{
|
style={{
|
||||||
|
maxHeight: '90%',
|
||||||
|
maxWidth: '90%',
|
||||||
|
flex: 1,
|
||||||
|
overflow: 'auto',
|
||||||
|
objectFit: 'contain',
|
||||||
width: isRow ? 0 : undefined,
|
width: isRow ? 0 : undefined,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
@@ -114,11 +121,6 @@ const useStyles = createStyles((theme, _params, getRef) => ({
|
|||||||
appName: {
|
appName: {
|
||||||
wordBreak: 'break-word',
|
wordBreak: 'break-word',
|
||||||
},
|
},
|
||||||
appImage: {
|
|
||||||
flex: '1',
|
|
||||||
objectFit: 'contain',
|
|
||||||
overflowY: 'auto',
|
|
||||||
},
|
|
||||||
button: {
|
button: {
|
||||||
height: '100%',
|
height: '100%',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
|||||||
Reference in New Issue
Block a user