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) { .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 {

View File

@@ -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;
} }

View File

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