Add classes to small action buttons

This commit is contained in:
Robin Ward 2017-08-22 14:49:14 -04:00
parent cbe17be40e
commit 605653a369
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ export default createWidget('post-small-action', {
if (attrs.canDelete) {
contents.push(this.attach('button', {
className: 'small-action-delete',
icon: 'times',
action: 'deletePost',
title: 'post.controls.delete'
@ -83,6 +84,7 @@ export default createWidget('post-small-action', {
if (attrs.canEdit) {
contents.push(this.attach('button', {
className: 'small-action-edit',
icon: 'pencil',
action: 'editPost',
title: 'post.controls.edit'