Flex it
This commit is contained in:
parent
2f23dd9a00
commit
c3b641bb80
|
@ -3,6 +3,7 @@ import React, { Component } from 'react'
|
|||
import { Spinner, Header } from '.'
|
||||
import '../static/stylesheets/globals.scss'
|
||||
import contentStyle from '../static/stylesheets/content.scss'
|
||||
import style from './About.scss'
|
||||
import MarkdownIt from 'markdown-it'
|
||||
|
||||
export default class About extends Component {
|
||||
|
@ -24,7 +25,7 @@ export default class About extends Component {
|
|||
}
|
||||
|
||||
return (
|
||||
<div className={contentStyle.contentWrapper} id="about">
|
||||
<div className={contentStyle.contentWrapper, style.about} >
|
||||
<Header header={'About Me'} />
|
||||
<div className={contentStyle.content} dangerouslySetInnerHTML={{ __html: result }}>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
@import "../static/stylesheets/variables.scss";
|
||||
|
||||
#about {
|
||||
background-color: #324263;
|
||||
.about {
|
||||
flex: 30%;
|
||||
}
|
|
@ -35,7 +35,7 @@ export default class Blog extends Component {
|
|||
)
|
||||
|
||||
return (
|
||||
<div className={contentStyle.contentWrapper} id="blog">
|
||||
<div className={contentStyle.contentWrapper, styles.blog} id="blog">
|
||||
<Header header={'Blog'} />
|
||||
|
||||
<div className={contentStyle.content}>
|
||||
|
|
|
@ -22,3 +22,7 @@
|
|||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
.blog {
|
||||
flex: 70%;
|
||||
}
|
||||
|
|
|
@ -5,5 +5,7 @@
|
|||
}
|
||||
|
||||
.flexWrap {
|
||||
@media only screen and (min-width: 1024px) {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue