Trying a trash icon on mobile composer cancel

This commit is contained in:
Kris 2018-03-19 16:35:38 -04:00
parent a9de712eed
commit 42e49f6c7b
2 changed files with 4 additions and 3 deletions

View File

@ -105,7 +105,7 @@
label=model.saveLabel label=model.saveLabel
disableSubmit=disableSubmit}} disableSubmit=disableSubmit}}
{{#if site.mobileView}} {{#if site.mobileView}}
<a href {{action "cancel"}} class='cancel' tabindex="6" title="{{i18n 'cancel'}}">{{d-icon "times"}}</a> <a href {{action "cancel"}} class='cancel' tabindex="6" title="{{i18n 'cancel'}}">{{d-icon "trash-o"}}</a>
{{else}} {{else}}
<a href {{action "cancel"}} class='cancel' tabindex="6" >{{i18n 'cancel'}}</a> <a href {{action "cancel"}} class='cancel' tabindex="6" >{{i18n 'cancel'}}</a>
{{/if}} {{/if}}

View File

@ -68,9 +68,10 @@
margin-left: 15px; margin-left: 15px;
} }
.cancel { .cancel {
font-size: 1.75em; font-size: 1.6em;
color: $primary-low-mid; color: $primary-low-mid;
margin-left: .65em; margin-left: .6em;
padding: 0 5px;
} }
} }
.composer-bottom-right { .composer-bottom-right {