Style the command palette with a ":" before the editor.

This commit is contained in:
Nathan Sobo
2012-03-20 20:35:00 -06:00
parent fd82efa1b2
commit a91c8098a3
3 changed files with 14 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ module.exports =
class CommandPanel extends View
@content: ->
@div class: 'command-panel', =>
@div ':', class: 'prompt', outlet: 'prompt'
@subview 'editor', new Editor
initialize: ({@rootView})->
@@ -21,6 +22,7 @@ class CommandPanel extends View
@rootView.lastActiveEditor().focus()
else
@rootView.append(this)
@prompt.css 'font', @editor.css('font')
@editor.focus()
@editor.buffer.setText('')