From cdd5b604470acd03e7dbb06e5bb0ca7116bb73d8 Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 6 Apr 2021 22:22:40 -0400 Subject: [PATCH] UX: icon instead of text for hiding mobile preview (#12625) --- app/assets/javascripts/discourse/app/templates/composer.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/app/templates/composer.hbs b/app/assets/javascripts/discourse/app/templates/composer.hbs index 1c3aa3b6a6b..3547336abae 100644 --- a/app/assets/javascripts/discourse/app/templates/composer.hbs +++ b/app/assets/javascripts/discourse/app/templates/composer.hbs @@ -204,7 +204,7 @@ {{#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}} {{else}} {{html-safe toggleText}}