mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 03:42:16 +08:00
Trying a trash icon on mobile composer cancel
This commit is contained in:
parent
a9de712eed
commit
42e49f6c7b
|
@ -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}}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user