Fixes non-split stretch mode

This commit is contained in:
Samuel Georges 2017-07-15 19:10:01 +10:00
parent 953336d250
commit 0aa1fa96fb
2 changed files with 13 additions and 5 deletions

View File

@ -106,13 +106,16 @@
float: none;
height: auto;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin-top: 40px;
}
.field-markdowneditor.stretch .editor-write {
left: 0;
.field-markdowneditor.stretch.mode-split .editor-preview {
left: auto;
}
.field-markdowneditor.stretch.mode-split .editor-write {
right: auto;
}
.field-markdowneditor.is-fullscreen {

View File

@ -128,15 +128,20 @@
float: none;
height: auto;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin-top: 40px;
}
.editor-write {
left: 0;
right: auto;
&.mode-split {
.editor-preview {
left: auto;
}
.editor-write {
right: auto;
}
}
}