UX: Use the full word "cancel" on desktop composer, "X" on mobile.
This commit is contained in:
parent
2ad2ed2eb2
commit
64e30d799e
|
@ -104,8 +104,11 @@
|
|||
icon=model.saveIcon
|
||||
label=model.saveLabel
|
||||
disableSubmit=disableSubmit}}
|
||||
|
||||
{{#if site.mobileView}}
|
||||
<a href {{action "cancel"}} class='cancel' tabindex="6" title="{{i18n 'cancel'}}">{{d-icon "times"}}</a>
|
||||
{{else}}
|
||||
<a href {{action "cancel"}} class='cancel' tabindex="6" >{{i18n 'cancel'}}</a>
|
||||
{{/if}}
|
||||
|
||||
{{#if site.mobileView}}
|
||||
{{#if whisperOrUnlistTopic}}
|
||||
|
|
|
@ -260,10 +260,9 @@
|
|||
flex: 0 0 auto;
|
||||
}
|
||||
.cancel {
|
||||
margin-left: .65em;
|
||||
font-size: 1.75em;
|
||||
margin-left: 1.25em;
|
||||
line-height: normal;
|
||||
color: $primary-low-mid;
|
||||
color: $primary-high;
|
||||
transition: color 250ms;
|
||||
&:hover {
|
||||
color: $danger;
|
||||
|
|
|
@ -67,6 +67,11 @@
|
|||
#file-uploading {
|
||||
margin-left: 15px;
|
||||
}
|
||||
.cancel {
|
||||
font-size: 1.75em;
|
||||
color: $primary-low-mid;
|
||||
margin-left: .65em;
|
||||
}
|
||||
}
|
||||
.composer-bottom-right {
|
||||
margin-left: auto;
|
||||
|
|
Loading…
Reference in New Issue