Move 'editor-colors' to wrapper view to support padding on mini editors

This commit is contained in:
Nathan Sobo
2014-07-21 13:43:00 -07:00
parent ca1220a682
commit df7f816c88
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ EditorComponent = React.createClass
style.height = scrollViewHeight if @autoHeight
className = 'editor-contents editor-colors'
className = 'editor-contents'
className += ' is-focused' if focused
className += ' has-selection' if hasSelection

View File

@@ -9,7 +9,7 @@ module.exports =
class ReactEditorView extends View
@content: (params) ->
attributes = params.attributes ? {}
attributes.class = 'editor react'
attributes.class = 'editor react editor-colors'
@div attributes
focusOnAttach: false