content style update: rm thin; rm menu padding

This commit is contained in:
tmshv committed 2020-02-21 21:33:49 +03:00
1 parent f2b548aee8
commit 1bdea85b1b
14 files changed
+16 -92

No files matched your search

+9 -6
View File
@@ -15,8 +15,7 @@ const Navigation = dynamic(() => import('../Navigation').then(mod => mod.Navigat
export interface IAppProps {
menu: any
showAuthor: boolean
menuPadding: boolean
layout: 'full' | 'wide' | 'thin'
layout: 'full' | 'wide'
}
export const App: React.FC<IAppProps> = props => {
@@ -38,10 +37,14 @@ export const App: React.FC<IAppProps> = props => {
/>
)}
>
<div className={cx('content', `content_${props.layout}`, {
'content--padding-top--menu': props.menuPadding,
'reduced-motion': motionDisabled,
})}>
<div
className={cx('content', `content_${props.layout}`, {
'reduced-motion': motionDisabled,
})}
style={{
paddingTop: 'var(--menu-thickness)'
}}
>
{props.children}
</div>