Adjust home screen layout

This commit is contained in:
LordMathis 2019-10-09 20:51:25 +02:00
parent ebd4fcf2ce
commit c7d571923c
No known key found for this signature in database
GPG Key ID: 575849FD91CE470C
3 changed files with 8 additions and 2 deletions

View File

@ -24,8 +24,10 @@ export default class About extends Component {
) )
} }
const classes = `${contentStyle.contentWrapper} ${style.about}`
return ( return (
<div className={contentStyle.contentWrapper, style.about} > <div className={classes} >
<Header header={'About Me'} /> <Header header={'About Me'} />
<div className={contentStyle.content} dangerouslySetInnerHTML={{ __html: result }}> <div className={contentStyle.content} dangerouslySetInnerHTML={{ __html: result }}>
</div> </div>

View File

@ -34,8 +34,10 @@ export default class Blog extends Component {
</tr> </tr>
) )
const classes = `${contentStyle.contentWrapper} ${styles.blog}`
return ( return (
<div className={contentStyle.contentWrapper, styles.blog} id="blog"> <div className={classes} id="blog">
<Header header={'Blog'} /> <Header header={'Blog'} />
<div className={contentStyle.content}> <div className={contentStyle.content}>

View File

@ -7,5 +7,7 @@
.flexWrap { .flexWrap {
@media only screen and (min-width: $break-large) { @media only screen and (min-width: $break-large) {
display: flex; display: flex;
width: 80%;
margin: 0 auto;
} }
} }