Skip to content

Commit

Permalink
Fixed image issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
S3Prototype committed May 15, 2021
1 parent b141bbc commit 22e3159
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/Robots/RobotCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ function RobotCard(props) {
return (
<Grid style={props.pseudo ? {opacity:0} : {}} lg={4} md={5} item>
<Card elevation={3} style={{display:'flex', justifyContent:'center'}} className={classes.robotCard}>
<Grid style={{minHeight: 445, maxHeight:500, minWidth: 324, maxWidth: 324}} direction="column" alignItems="center" justify="space-between" container>
<Grid style={{minHeight: 445, maxHeight:500, minWidth: 324, maxWidth: 324}}
direction="column" alignItems="center" justify="space-between" container
>
<Typography className={classes.robotName}>
{props.name}
</Typography>
<img
style={{maxWidth: '100%',width: props.imgWidth, maxHeight:300,marginBottom: 30,}}
style={{ maxHeight:300,marginBottom: 30,}}
src={props.image}
/>
{props.children}
Expand Down

1 comment on commit 22e3159

@vercel
Copy link

@vercel vercel bot commented on 22e3159 May 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

famous-robots – ./

famous-robots.vercel.app
famous-robots-s3prototype.vercel.app
famous-robots-git-main-s3prototype.vercel.app

Please sign in to comment.