style(website): mobile sidebar menu

This commit is contained in:
moklick
2020-10-14 18:05:34 +02:00
parent 372558c538
commit 0afcf6f776
4 changed files with 3 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ const ReactFlowWrapper = styled(Box)`
flex-grow: 1;
.react-flow {
border-bottom:1px solid ${(p) => p.theme.colors.silverLighten30};
border-bottom: 1px solid ${(p) => p.theme.colors.silverLighten30};
height: 65vh;
}
`;
@@ -49,8 +49,6 @@ export default ({ children, title, slug, sourceCodeFiles = [] }) => {
robots: 'index, follow',
};
console.log(sourceCodeFiles);
const hasSource = sourceCodeFiles.length > 0;
return (

View File

@@ -23,7 +23,6 @@ const PageWrapper = styled(Flex)`
const PageContent = styled(Box)`
flex: 1 0 auto;
position: relative;
`;
const Page = ({

View File

@@ -18,6 +18,7 @@ const Aside = styled.aside`
overflow-y: auto;
background: white;
z-index: 400;
padding: 20px 10px;
@media ${device.tablet} {
width: 30%;

View File

@@ -17,7 +17,7 @@ export default function useMenuHeight() {
return () => {
window.removeEventListener('resize', onResize);
};
});
}, []);
return menuHeight;
}