editor fixes

This commit is contained in:
Mo Bitar
2017-02-16 17:16:15 -06:00
parent b961a0936f
commit 253710acb9
3 changed files with 11 additions and 6 deletions

View File

@@ -46,8 +46,8 @@ angular.module('app.frontend')
})
.controller('EditorCtrl', function ($sce, $timeout, authManager, $rootScope, extensionManager, syncManager, modelManager) {
window.addEventListener("message", function(){
console.log("App received message:", event);
window.addEventListener("message", function(event){
// console.log("App received message:", event);
if(event.data.status) {
this.postNoteToExternalEditor();
} else {

View File

@@ -96,6 +96,7 @@ $heading-height: 75px;
z-index: 10;
overflow-y: hidden;
height: 100%;
display: flex;
background-color: white;
&.fullscreen {
@@ -103,16 +104,14 @@ $heading-height: 75px;
}
#editor-iframe {
max-height: 100%;
height: 100%;
flex: 1;
width: 100%;
}
.editable {
font-family: monospace;
max-height: 100%;
flex: 1;
overflow-y: scroll;
height: 100%;
width: 100%;
border: none;
@@ -134,9 +133,14 @@ $heading-height: 75px;
padding-left: 0;
margin-bottom: 0;
list-style: none;
ul {
font-weight: bold;
}
}
.nav>li>a {
position: relative;
display: block;
font-weight: bold;
user-select: none;
}

View File

@@ -42,6 +42,7 @@
> .title {
font-size: 14px;
font-weight: bold;
}
> .subtitle {