Added some styling got galleries
This commit is contained in:
parent
477a8d264c
commit
73db7e5074
|
@ -18,6 +18,10 @@ const styles = theme => ({
|
||||||
flamelinkGallery: {
|
flamelinkGallery: {
|
||||||
marginRight: "auto",
|
marginRight: "auto",
|
||||||
marginLeft: "auto",
|
marginLeft: "auto",
|
||||||
|
},
|
||||||
|
|
||||||
|
flamelinkGalleryContainer: {
|
||||||
|
backgroundColor: 'black',
|
||||||
marginTop: 20,
|
marginTop: 20,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -44,6 +48,7 @@ class FlameLinkCollectionGallery extends Component {
|
||||||
.then(result => this.setState({
|
.then(result => this.setState({
|
||||||
schemaContent: result
|
schemaContent: result
|
||||||
}))
|
}))
|
||||||
|
|
||||||
if(this.props.showTitle === false){
|
if(this.props.showTitle === false){
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
@ -65,7 +70,6 @@ class FlameLinkCollectionGallery extends Component {
|
||||||
global.mediaIDs.push(schemaContent[val1][key][val2]);
|
global.mediaIDs.push(schemaContent[val1][key][val2]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log('Global Media IDs: ', global.mediaIDs)
|
|
||||||
for (var val3 in global.mediaIDs){
|
for (var val3 in global.mediaIDs){
|
||||||
mediaNums.push(val3)
|
mediaNums.push(val3)
|
||||||
}
|
}
|
||||||
|
@ -85,7 +89,7 @@ class FlameLinkCollectionGallery extends Component {
|
||||||
<Typography variant='display3' className={classes.flamelinkItem}>
|
<Typography variant='display3' className={classes.flamelinkItem}>
|
||||||
{this.state.schemaDescription}
|
{this.state.schemaDescription}
|
||||||
</Typography>
|
</Typography>
|
||||||
<Grid container>
|
<Grid container className={classes.flamelinkGalleryContainer}>
|
||||||
<Grid item lg={8} md={8} sm={12} xs={12} className={classes.flamelinkGallery} >
|
<Grid item lg={8} md={8} sm={12} xs={12} className={classes.flamelinkGallery} >
|
||||||
<RenderGallery/>
|
<RenderGallery/>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
Loading…
Reference in New Issue