From 2e09a88a298068aa81b92fca8cb32517691aac80 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Tue, 16 Aug 2022 21:39:41 -0400 Subject: [PATCH] A11Y: Accessible full-screen and minimize composer buttons (#17936) --- .../app/templates/components/composer-toggles.hbs | 8 ++++---- app/assets/stylesheets/common/base/compose.scss | 7 ------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/components/composer-toggles.hbs b/app/assets/javascripts/discourse/app/templates/components/composer-toggles.hbs index a0c91bf1f25..5217b5f74e0 100644 --- a/app/assets/javascripts/discourse/app/templates/components/composer-toggles.hbs +++ b/app/assets/javascripts/discourse/app/templates/components/composer-toggles.hbs @@ -2,12 +2,12 @@ {{#if this.site.mobileView}} - + {{/if}} - - {{#if this.showFullScreenButton}} - + {{/if}} + + diff --git a/app/assets/stylesheets/common/base/compose.scss b/app/assets/stylesheets/common/base/compose.scss index efd401ac173..abbeb0d6606 100644 --- a/app/assets/stylesheets/common/base/compose.scss +++ b/app/assets/stylesheets/common/base/compose.scss @@ -90,9 +90,6 @@ html.composer-open { .saving-text { display: none; } - .toggle-minimize { - order: 2; - } } &.saving .saving-text { @@ -164,10 +161,6 @@ html.composer-open { .d-icon { color: var(--primary-medium); } - - .toggle-minimize { - order: 2; - } } }