Added Block wrapper to ModalPage
• Added: - Block wrapper to ModalPage
This commit is contained in:
parent
a4e6320ba0
commit
2d44027cef
@ -1,6 +1,7 @@
|
|||||||
import PageTitle from '../features/ui/util/page_title'
|
import PageTitle from '../features/ui/util/page_title'
|
||||||
import LinkFooter from '../components/link_footer'
|
import LinkFooter from '../components/link_footer'
|
||||||
import WhoToFollowPanel from '../components/panel/who_to_follow_panel'
|
import WhoToFollowPanel from '../components/panel/who_to_follow_panel'
|
||||||
|
import Block from '../components/block'
|
||||||
import DefaultLayout from '../layouts/default_layout'
|
import DefaultLayout from '../layouts/default_layout'
|
||||||
|
|
||||||
export default class ModalPage extends PureComponent {
|
export default class ModalPage extends PureComponent {
|
||||||
@ -29,7 +30,12 @@ export default class ModalPage extends PureComponent {
|
|||||||
showBackBtn
|
showBackBtn
|
||||||
>
|
>
|
||||||
<PageTitle path={title} />
|
<PageTitle path={title} />
|
||||||
|
|
||||||
|
<Block>
|
||||||
|
<div className={[_s.default, _s.py15, _s.px15].join(' ')}>
|
||||||
{children}
|
{children}
|
||||||
|
</div>
|
||||||
|
</Block>
|
||||||
</DefaultLayout>
|
</DefaultLayout>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user