Add better class names to modals to allow for better customized css targeting
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
import Ember from 'ember'
|
||||
|
||||
export default Ember.Component.extend
|
||||
tagName: 'button'
|
||||
scope_key: null
|
||||
content: null
|
||||
classNames: 'user-filters-manager ui icon button'
|
||||
classNameBindings: ['class']
|
||||
class: 'tiny black'
|
||||
actions:
|
||||
open_modal: ->
|
||||
@modal 'user-filters-manager/modal', scope_key: @get('scope_key'), content: @get('content'), title_path: 'user_filters.modal_title'
|
||||
click: -> @send 'open_modal'
|
||||
|
||||
Reference in New Issue
Block a user