added App options
This commit is contained in:
1 parent
d941878cbe
commit
f257e08e7c
2 files changed
+6
-4
No files matched your search
@@ -8,7 +8,7 @@ const Comments = () => (
|
||||
</div>
|
||||
)
|
||||
|
||||
const App = ({children, menu, showAuthor}) => (
|
||||
const App = ({children, menu, showAuthor, menuPadding}) => (
|
||||
<div className="body-wrapper theme-default">
|
||||
<header>
|
||||
<div className="navigation">
|
||||
@@ -19,7 +19,7 @@ const App = ({children, menu, showAuthor}) => (
|
||||
</header>
|
||||
|
||||
<main className="body-wrapper__content">
|
||||
<section className="content content_full content--padding-top--menu">
|
||||
<section className={`content content_full ${menuPadding ? 'content--padding-top--menu' : ''}`}>
|
||||
{children}
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user