mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Move 'editor-colors' to wrapper view to support padding on mini editors
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user