mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-05 16:06:15 +02:00
ui: basic style the docs & link to pages
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user