Skip to content
Snippets Groups Projects
Commit 8e8e4d29 authored by chris's avatar chris
Browse files

surface containers

parent f07b3ecb
No related branches found
No related tags found
1 merge request!33Layouts themes
......@@ -14,12 +14,33 @@ const WaxSurfaceContainer = styled.div`
z-index: 1;
`;
const WaxSurfaceScroll = styled.div`
bottom: 0;
left: 0;
overflow: auto;
position: absolute;
right: 0;
top: 0;
box-sizing: border-box;
padding: 0;
margin-left: 14%;
padding: 2px;
.ProseMirror {
-moz-box-shadow: 0 0 3px #ccc;
-webkit-box-shadow: 0 0 3px #ccc;
box-shadow: 0 0 3px #ccc;
width: 65%;
min-height: 90%;
padding: 40px;
}
`;
const EditoriaLayout = ({ editor, view, ...props }) => (
<LayoutWrapper>
<MainMenuBar view={view} {...props} />
<WaxSurfaceContainer>
<SideMenuBar view={view} {...props} />
{editor}
<WaxSurfaceScroll>{editor}</WaxSurfaceScroll>
</WaxSurfaceContainer>
</LayoutWrapper>
);
......
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