Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
wax-prosemirror
Manage
Activity
Members
Labels
Plan
Issues
34
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wax
wax-prosemirror
Commits
6fcde474
Commit
6fcde474
authored
5 years ago
by
chris
Browse files
Options
Downloads
Patches
Plain Diff
fix editoria layout
parent
3634a92d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!73
Layout
,
!72
Comments
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wax-prosemirror-layouts/src/layouts/EditoriaLayout.js
+19
-14
19 additions, 14 deletions
wax-prosemirror-layouts/src/layouts/EditoriaLayout.js
with
19 additions
and
14 deletions
wax-prosemirror-layouts/src/layouts/EditoriaLayout.js
+
19
−
14
View file @
6fcde474
...
@@ -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: 0
px 11px
10px 5px;
padding: 0
0
10px 5px;
height: 100%;
height: 100%;
width:
70
%;
width:
65
%;
`
;
`
;
const
CommentsContainer
=
styled
.
div
`
const
CommentsContainer
=
styled
.
div
`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment