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
6096f84c
Commit
6096f84c
authored
4 years ago
by
chris
Browse files
Options
Downloads
Patches
Plain Diff
style-fix
parent
7218fccb
No related branches found
No related tags found
1 merge request
!215
set id
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
editors/editoria/src/layout/EditoriaLayout.js
+4
-3
4 additions, 3 deletions
editors/editoria/src/layout/EditoriaLayout.js
editors/editoria/src/layout/EditoriaMobileLayout.js
+14
-19
14 additions, 19 deletions
editors/editoria/src/layout/EditoriaMobileLayout.js
with
18 additions
and
22 deletions
editors/editoria/src/layout/EditoriaLayout.js
+
4
−
3
View file @
6096f84c
...
...
@@ -163,12 +163,12 @@ const NotesContainer = styled.div`
const
WaxBottomRightInfo
=
styled
.
div
``
;
const
InfoContainer
=
styled
.
div
`
display: flex;
position: fixed
!important
;
position: fixed;
bottom: 1px;
right: 21px;
z-index:
1
;
z-index:
999
;
`
;
const
InfoArea
=
styled
.
div
``
;
let
surfaceHeight
=
600
;
let
notesHeight
=
200
;
...
...
@@ -193,6 +193,7 @@ const RightArea = ComponentPlugin('rightArea');
const
CommentTrackToolBar
=
ComponentPlugin
(
'
commentTrackToolBar
'
);
const
WaxOverlays
=
ComponentPlugin
(
'
waxOverlays
'
);
const
BottomRightInfo
=
ComponentPlugin
(
'
BottomRightInfo
'
);
const
EditoriaLayout
=
({
editor
})
=>
{
const
{
view
:
{
main
},
...
...
This diff is collapsed.
Click to expand it.
editors/editoria/src/layout/EditoriaMobileLayout.js
+
14
−
19
View file @
6096f84c
...
...
@@ -147,19 +147,15 @@ const NotesContainer = styled.div`
padding-right:
${
grid
(
1
)}
;
}
`
;
const
WaxBottomRightInfo
=
styled
.
div
`
`
;
const
InfoContainer
=
styled
.
div
`
display:flex;
position:fixed !important;
bottom:1px;
right:21px;
z-index:1;
`
;
const
InfoArea
=
styled
.
div
`
const
WaxBottomRightInfo
=
styled
.
div
``
;
const
InfoContainer
=
styled
.
div
`
display: flex;
position: fixed !important;
bottom: 1px;
right: 21px;
z-index: 1;
`
;
const
InfoArea
=
styled
.
div
``
;
let
surfaceHeight
=
500
;
let
notesHeight
=
150
;
...
...
@@ -181,6 +177,7 @@ const TopBar = ComponentPlugin('topBar');
const
NotesArea
=
ComponentPlugin
(
'
notesArea
'
);
const
RightArea
=
ComponentPlugin
(
'
rightArea
'
);
const
WaxOverlays
=
ComponentPlugin
(
'
waxOverlays
'
);
const
BottomRightInfo
=
ComponentPlugin
(
'
BottomRightInfo
'
);
const
EditoriaLayout
=
({
editor
})
=>
{
const
{
...
...
@@ -206,13 +203,6 @@ const EditoriaLayout = ({ editor }) => {
return
(
<
ThemeProvider
theme
=
{
cokoTheme
}
>
<
Wrapper
>
<
WaxBottomRightInfo
>
<
InfoContainer
id
=
"
info-container
"
>
<
BottomRightInfo
/>
<
/InfoContainer>
<
/WaxBottomRightInfo
>
<
TopMenu
>
<
TopBar
/>
<
/TopMenu
>
...
...
@@ -249,6 +239,11 @@ const EditoriaLayout = ({ editor }) => {
<
/Main
>
<
WaxOverlays
/>
<
WaxBottomRightInfo
>
<
InfoContainer
id
=
"
info-container
"
>
<
BottomRightInfo
/>
<
/InfoContainer
>
<
/WaxBottomRightInfo
>
<
/Wrapper
>
<
/ThemeProvider
>
);
...
...
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