Skip to content
Snippets Groups Projects
Commit 6fcde474 authored by chris's avatar chris
Browse files

fix editoria layout

parent 3634a92d
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`
......
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