editor fixes
This commit is contained in:
@@ -46,8 +46,8 @@ angular.module('app.frontend')
|
|||||||
})
|
})
|
||||||
.controller('EditorCtrl', function ($sce, $timeout, authManager, $rootScope, extensionManager, syncManager, modelManager) {
|
.controller('EditorCtrl', function ($sce, $timeout, authManager, $rootScope, extensionManager, syncManager, modelManager) {
|
||||||
|
|
||||||
window.addEventListener("message", function(){
|
window.addEventListener("message", function(event){
|
||||||
console.log("App received message:", event);
|
// console.log("App received message:", event);
|
||||||
if(event.data.status) {
|
if(event.data.status) {
|
||||||
this.postNoteToExternalEditor();
|
this.postNoteToExternalEditor();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ $heading-height: 75px;
|
|||||||
z-index: 10;
|
z-index: 10;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|
||||||
&.fullscreen {
|
&.fullscreen {
|
||||||
@@ -103,16 +104,14 @@ $heading-height: 75px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
#editor-iframe {
|
#editor-iframe {
|
||||||
max-height: 100%;
|
flex: 1;
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editable {
|
.editable {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
max-height: 100%;
|
flex: 1;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
border: none;
|
border: none;
|
||||||
@@ -134,9 +133,14 @@ $heading-height: 75px;
|
|||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
ul {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav>li>a {
|
.nav>li>a {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
|
|
||||||
> .title {
|
> .title {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .subtitle {
|
> .subtitle {
|
||||||
|
|||||||
Reference in New Issue
Block a user