Skip to content
Snippets Groups Projects
Commit 804af523 authored by Christos's avatar Christos
Browse files

Merge branch 'layout' into 'comments'

Layout

See merge request !73
parents 8f98e487 6fcde474
No related branches found
No related tags found
2 merge requests!73Layout,!72Comments
...@@ -13,13 +13,7 @@ const LayoutWrapper = styled.div` ...@@ -13,13 +13,7 @@ const LayoutWrapper = styled.div`
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
width: 100%; width: 100%;
`; overflow: hidden;
const LeftMenuSurfaceContainer = styled.div`
display: flex;
flex-direction: row;
height: 100%;
width: 100%;
.divider { .divider {
&:before { &:before {
content: "Notes"; content: "Notes";
...@@ -66,6 +60,13 @@ const LeftMenuSurfaceContainer = styled.div` ...@@ -66,6 +60,13 @@ const LeftMenuSurfaceContainer = styled.div`
} }
`; `;
const LeftMenuSurfaceContainer = styled.div`
display: flex;
flex-direction: row;
height: 100%;
width: 100%;
`;
const WaxSurfaceContainer = styled.div` const WaxSurfaceContainer = styled.div`
flex: 1; flex: 1;
position: relative; position: relative;
...@@ -73,15 +74,19 @@ const WaxSurfaceContainer = styled.div` ...@@ -73,15 +74,19 @@ const WaxSurfaceContainer = styled.div`
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%; height: 100%;
width: 100%;
`; `;
const EditorContainer = styled.div` const EditorContainer = styled.div`
-moz-box-shadow: 0 0 8px #ecedf1;
-webkit-box-shadow: 0 0 8px #ecedf1;
box-shadow: 0 0 8px #ecedf1;
width: 65%; width: 65%;
min-height: 90%; height: 100%;
padding: 40px; .ProseMirror {
-moz-box-shadow: 0 0 8px #ecedf1;
-webkit-box-shadow: 0 0 8px #ecedf1;
box-shadow: 0 0 8px #ecedf1;
min-height: 90%;
padding: 40px;
}
`; `;
const WaxSurfaceScroll = styled.div` const WaxSurfaceScroll = styled.div`
...@@ -164,9 +169,9 @@ const NotesContainer = styled.div` ...@@ -164,9 +169,9 @@ const NotesContainer = styled.div`
counter-reset: footnote-view; counter-reset: footnote-view;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0px 11px 10px 5px; padding: 0 0 10px 5px;
height: 100%; height: 100%;
width: 70%; width: 65%;
`; `;
const CommentsContainer = styled.div` const CommentsContainer = styled.div`
......
const px2vw = (size, width = 1920) => `${size / width * 100}vw`;
export default px2vw;
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment