Worked on Flamelink stylings for images but didn't really get anywhere

This commit is contained in:
ajmaley 2018-11-01 22:51:05 -04:00
parent 4fba3db3db
commit 7df07ff7c4
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
import React, { Component } from 'react';
import flamelinkApp from '../flamelink.js';
class FlameLinkImage extends Component {
constructor() {
super();
@ -15,13 +16,13 @@ class FlameLinkImage extends Component {
.then(url => this.setState({
mediaURL: url
}))
return <img src={this.state.mediaURL} width='100%' alt='' />
return <img src={this.state.mediaURL} max-width="500" width="100%" alt='' />
}
render() {
return(
<div>
{this.getImage(this.props.content)}
{this.getImage(this.props.content)}
</div>
);
}

View File

@ -7,7 +7,7 @@ class Home extends Component {
constructor() {
super();
global.schemaName = 'martenInfo';
global.schemaName = 'martenHome';
this.state = {
schemaDetails: '',