bug fixes

This commit is contained in:
David Ralph
2020-08-27 16:10:16 +01:00
parent 259a36fd5d
commit 66980a4c62
8 changed files with 13 additions and 71 deletions

View File

@@ -48,7 +48,7 @@ export default class Update extends React.PureComponent {
<span className='closeModal' onClick={this.props.modalClose}>&times;</span>
<h1 style={{ 'marginBottom':'-10px' }} dangerouslySetInnerHTML={{__html: this.state.title}}></h1>
<h5 style={{ 'lineHeight':'0px' }}> By {this.state.author} {this.state.date}</h5>
<img src={this.state.image} alt='Update'></img>
<img draggable='false' src={this.state.image} alt='Update'></img>
<p dangerouslySetInnerHTML={{__html: this.state.content + `<br/><p>Read on the blog here: <a href='${this.state.url}'>${this.state.url}</a></p>`}}></p>
</div>;
}