UX: Add missing `btn-icon` class to edit icons

This commit is contained in:
Robin Ward 2018-01-02 15:23:56 -05:00
parent 32b5b04d18
commit 4cfea21aa2
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<div class="controls">
<span class='static'>{{model.username}}</span>
{{#if model.can_edit_username}}
{{#link-to "preferences.username" class="btn btn-small pad-left no-text"}}
{{#link-to "preferences.username" class="btn btn-small btn-icon pad-left no-text"}}
{{d-icon "pencil"}} {{/link-to}}
{{/if}}
</div>
@ -37,7 +37,7 @@
<div class="controls">
<span class='static'>{{model.email}}</span>
{{#if model.can_edit_email}}
{{#link-to "preferences.email" class="btn btn-small pad-left no-text"}}{{d-icon "pencil"}}{{/link-to}}
{{#link-to "preferences.email" class="btn btn-small btn-icon pad-left no-text"}}{{d-icon "pencil"}}{{/link-to}}
{{/if}}
</div>
<div class='instructions'>
@ -84,7 +84,7 @@
<label class="control-label">{{i18n 'user.title.title'}}</label>
<div class="controls">
<span class="static">{{model.title}}</span>
{{#link-to "preferences.badgeTitle" class="btn btn-small pad-left no-text"}}{{d-icon "pencil"}}{{/link-to}}
{{#link-to "preferences.badgeTitle" class="btn btn-small btn-icon pad-left no-text"}}{{d-icon "pencil"}}{{/link-to}}
</div>
</div>
{{/if}}