ui: basic style the docs & link to pages

This commit is contained in:
Jean-Philippe Sirois
2019-07-27 05:05:03 -04:00
parent b01e9ddb82
commit e97b7925f9
6 changed files with 70 additions and 24 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ const DocsLayout = ({ children }: PropsWithChildren<{}>) => {
`)
return (
<Scrollbar>
<div>
<Main>
<DocsSidebar />
<MainContent>
@@ -39,7 +39,7 @@ const DocsLayout = ({ children }: PropsWithChildren<{}>) => {
{` `}
<a href="https://www.gatsbyjs.org">Gatsby</a>
</footer>
</Scrollbar>
</div>
)
}
+1 -1
View File
@@ -7,7 +7,7 @@ export const Main = styled.div`
`
export const MainContent = styled.main`
flex: 1 0 auto;
flex: 1 1 auto;
& > :first-child {
margin-top: 0;