#9 - Правка загрузки изображений (оптимизация не помогла)
This commit is contained in:
@@ -14,7 +14,7 @@ export function IngredientCard({row, value, infoHandler, changeHandler}) {
|
||||
<Card sx={{mb: 1, height: '130px', display: 'relative', pt: 1}}>
|
||||
<Stack direction='row' justifyContent='start' alignItems='center'>
|
||||
<Box sx={{width: '100px', height: '100px'}}>
|
||||
<img src={row.image} loading='eager' height={'100px'} width={'100px'} alt={row.id}/>
|
||||
<img src={row.image} loading='lazy' height={'100px'} width={'100px'} alt={row.id}/>
|
||||
</Box>
|
||||
<Box sx={{width: 'calc(90% - 100px)', pr: 2}}>{row.name}</Box>
|
||||
<Stack direction='row'>
|
||||
|
||||
Reference in New Issue
Block a user