Worked on Flamelink stylings for images but didn't really get anywhere
This commit is contained in:
parent
4fba3db3db
commit
7df07ff7c4
|
@ -1,6 +1,7 @@
|
|||
import React, { Component } from 'react';
|
||||
import flamelinkApp from '../flamelink.js';
|
||||
|
||||
|
||||
class FlameLinkImage extends Component {
|
||||
constructor() {
|
||||
super();
|
||||
|
@ -15,7 +16,7 @@ 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() {
|
||||
|
|
|
@ -7,7 +7,7 @@ class Home extends Component {
|
|||
constructor() {
|
||||
super();
|
||||
|
||||
global.schemaName = 'martenInfo';
|
||||
global.schemaName = 'martenHome';
|
||||
|
||||
this.state = {
|
||||
schemaDetails: '',
|
||||
|
|
Loading…
Reference in New Issue