1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00

codemirror auto height

This commit is contained in:
Harvey Kandola 2017-03-12 15:20:25 +00:00
parent 7ad8cd8370
commit 2fa97da47d
2 changed files with 9 additions and 1 deletions

View file

@ -10,7 +10,7 @@
</div>
<style>
.CodeMirror {
height: auto;
height: auto !important;
font-size: 17px;
}
</style>

View file

@ -3,6 +3,13 @@
previewButton=true onPreview=(action 'onPreview')
isDirty=(action 'isDirty') onCancel=(action 'onCancel') onAction=(action 'onAction')}}
<style>
.CodeMirror {
height: auto !important;
font-size: 17px;
}
</style>
<div class="section-code-editor">
{{#if editMode}}
{{focus-textarea value=pageBody id=editorId class="mousetrap"}}
@ -12,4 +19,5 @@
</div>
{{/if}}
</div>
{{/section/base-editor-inline}}