Add css styling to CommandPanel errors

This commit is contained in:
Corey Johnson
2012-11-01 15:56:06 -07:00
parent 9afda88c8c
commit abfe3b93cc
2 changed files with 6 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ class CommandPanel extends View
@content: (rootView) ->
@div class: 'command-panel tool-panel', =>
@subview 'previewList', new PreviewList(rootView)
@ul class: 'errorMessages', outlet: 'errorMessages'
@ul class: 'error-messages', outlet: 'errorMessages'
@div class: 'prompt-and-editor', =>
@div ':', class: 'prompt', outlet: 'prompt'
@subview 'miniEditor', new Editor(mini: true)

View File

@@ -47,3 +47,8 @@
font-weight: bold;
padding: .2em;
}
.error-messages {
padding: 5px 1em;
color: white;
}