content style update: rm thin; rm menu padding
This commit is contained in:
1 parent
f2b548aee8
commit
1bdea85b1b
14 files changed
+16
-92
No files matched your search
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user