UX: icon instead of text for hiding mobile preview (#12625)

This commit is contained in:
Kris 2021-04-06 22:22:40 -04:00 committed by GitHub
parent 21664d8a1c
commit cdd5b60447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@
</a> </a>
{{#if showPreview}} {{#if showPreview}}
{{d-button action=(action "togglePreview") class="hide-preview" label="composer.hide_preview"}} {{d-button action=(action "togglePreview") class="hide-preview" ariaLabel="composer.hide_preview" icon="pencil-alt"}}
{{/if}} {{/if}}
{{else}} {{else}}
<a href {{action "togglePreview"}} class="toggle-preview">{{html-safe toggleText}}</a> <a href {{action "togglePreview"}} class="toggle-preview">{{html-safe toggleText}}</a>