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:
parent
7ad8cd8370
commit
2fa97da47d
2 changed files with 9 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
</div>
|
||||
<style>
|
||||
.CodeMirror {
|
||||
height: auto;
|
||||
height: auto !important;
|
||||
font-size: 17px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue