Fix/394 sidebar breaks editor layouts
@@ -130,6 +130,8 @@ export default class Editor extends React.Component {
this.getCodeMirror().focus();
if (editor.hasFocus()) {
clearInterval(intervalId);
+ // refresh
+ editor.refresh();
}
}, 100);
@@ -830,15 +830,15 @@ label{
// Wrappers
#wrapper {
- width: 100%;
-
+ position: relative;
+ width: 100%;
#page-wrapper {
- padding: 0px;
- min-height: 568px;
- background:$bodycolor;
- padding-bottom:60px;
+ padding: 0px;
+ min-height: 568px;
+ background:$bodycolor;
+ padding-bottom:60px;
/*
@@ -51,7 +51,7 @@ body.on-edit {
padding-bottom: 0;
.main {
- width: 100vw;
height: 100vh;
margin-top: 0px !important;
padding-top: 2px;
@@ -62,7 +62,7 @@ body.on-edit {
> .row {
margin: 0;
> .col-lg-10, > .col-md-9 {
padding: 0;