mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-01 15:50:11 -04:00
For the markdown editor node, tweaked ace height, and made sure preview div is hidden by default.
This commit is contained in:
parent
fb06e58201
commit
ef8ca9874a
2 changed files with 2 additions and 1 deletions
app
|
@ -9,6 +9,7 @@
|
|||
|
||||
&, & > div.ace_editor
|
||||
width: 100%
|
||||
min-height: 48px
|
||||
|
||||
.buttons button
|
||||
float: left
|
||||
|
|
|
@ -27,7 +27,7 @@ class LiveEditingMarkup extends TreemaNode.nodeMap.ace
|
|||
@addPreviewToggle(buttonRow)
|
||||
@addImageUpload(buttonRow)
|
||||
super(valEl)
|
||||
valEl.append($('<div class="preview"></div>'))
|
||||
valEl.append($('<div class="preview"></div>').hide())
|
||||
|
||||
addImageUpload: (valEl) ->
|
||||
return unless me.isAdmin()
|
||||
|
|
Loading…
Add table
Reference in a new issue