Last active
October 3, 2018 18:54
-
-
Save productioncoder/120ffc136bf24cdc1c60195cb51e0502 to your computer and use it in GitHub Desktop.
AppLayout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import './AppLayout.scss'; | |
import HeaderNav from '../../containers/HeaderNav/HeaderNav'; | |
export function AppLayout(props) { | |
return ( | |
<div className='app-layout'> | |
<HeaderNav/> | |
{props.children} | |
</div> | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import '../../styles/shared.scss'; | |
.app-layout { | |
& > *:not(:first-child) { | |
margin-top: $header-nav-height; | |
} | |
::-webkit-scrollbar { | |
width: 6px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment