Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/data/material/components/cards/ImgMediaCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ export default function ImgMediaCard() {
<Card sx={{ maxWidth: 345 }}>
<CardMedia
component="img"
alt="green iguana"
height="140"
alt="Green iguana"
image="/static/images/cards/contemplative-reptile.jpg"
sx={{ width: '100%', height: 'auto', aspectRatio: '16 / 9' }}
loading="lazy"
/>
<CardContent>
<Typography gutterBottom variant="h5" component="div">
Expand Down
5 changes: 3 additions & 2 deletions docs/data/material/components/cards/ImgMediaCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ export default function ImgMediaCard() {
<Card sx={{ maxWidth: 345 }}>
<CardMedia
component="img"
alt="green iguana"
height="140"
alt="Green iguana"
image="/static/images/cards/contemplative-reptile.jpg"
sx={{ width: '100%', height: 'auto', aspectRatio: '16 / 9' }}
loading="lazy"
/>
<CardContent>
<Typography gutterBottom variant="h5" component="div">
Expand Down
6 changes: 4 additions & 2 deletions docs/data/material/components/cards/MediaCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ export default function MediaCard() {
return (
<Card sx={{ maxWidth: 345 }}>
<CardMedia
sx={{ height: 140 }}
component="img"
sx={{ width: '100%', height: 'auto', aspectRatio: '16 / 9' }}
image="/static/images/cards/contemplative-reptile.jpg"
title="green iguana"
alt="Green iguana"
loading="lazy"
/>
<CardContent>
<Typography gutterBottom variant="h5" component="div">
Expand Down
6 changes: 4 additions & 2 deletions docs/data/material/components/cards/MediaCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ export default function MediaCard() {
return (
<Card sx={{ maxWidth: 345 }}>
<CardMedia
sx={{ height: 140 }}
component="img"
sx={{ width: '100%', height: 'auto', aspectRatio: '16 / 9' }}
image="/static/images/cards/contemplative-reptile.jpg"
title="green iguana"
alt="Green iguana"
loading="lazy"
/>
<CardContent>
<Typography gutterBottom variant="h5" component="div">
Expand Down
Loading