adjustment of the hardware images so that the full image is visible

This commit is contained in:
Delucse 2020-09-15 10:21:50 +02:00
parent 4df5b64eb0
commit 8060927cc6
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ class Hardware extends Component {
<GridList cellHeight={100} cols={cols} spacing={10}> <GridList cellHeight={100} cols={cols} spacing={10}>
{this.props.picture.map((picture,i) => ( {this.props.picture.map((picture,i) => (
<GridListTile key={i}> <GridListTile key={i}>
<img src={`/media/hardware/${picture}.png`} alt={picture} style={{cursor: 'pointer'}} onClick={() => this.handleClickOpen(picture, `/media/hardware/${picture}.png`)}/> <img src={`/media/hardware/${picture}.png`} height={100} alt={picture} style={{cursor: 'pointer'}} onClick={() => this.handleClickOpen(picture, `/media/hardware/${picture}.png`)}/>
<GridListTileBar <GridListTileBar
classes={{root: this.props.classes.multiGridListTile}} classes={{root: this.props.classes.multiGridListTile}}
title={ title={

View File

@ -49,7 +49,7 @@
"type": "instruction", "type": "instruction",
"headline": "Einführung", "headline": "Einführung",
"text1": "In diesem Tutorial lernst du wie man die senseBox mit dem Internet verbindest.", "text1": "In diesem Tutorial lernst du wie man die senseBox mit dem Internet verbindest.",
"hardware": ["senseboxmcu"], "hardware": ["senseboxmcu", "wifi-bee"],
"requirements": [1] "requirements": [1]
}, },
{ {