From 4bb4be958c5c2f301b9d80052472ef64da1805ab Mon Sep 17 00:00:00 2001 From: Bianca Nenciu Date: Mon, 26 Jun 2023 20:12:32 +0300 Subject: [PATCH] FIX: Show tag chooser in composer for PM on mobile (#22241) This was not displayed on mobile due to space constraints. With better organization of the title, category and tags inputs, it can be displayed. --- .../app/components/composer-container.hbs | 7 ++++++- .../discourse/app/services/composer.js | 4 ---- .../acceptance/user-private-messages-test.js | 4 ++-- app/assets/stylesheets/common/base/compose.scss | 3 +-- app/assets/stylesheets/mobile/compose.scss | 15 +-------------- 5 files changed, 10 insertions(+), 23 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/composer-container.hbs b/app/assets/javascripts/discourse/app/components/composer-container.hbs index 20dc3fc5995..8e19f89aa30 100644 --- a/app/assets/javascripts/discourse/app/components/composer-container.hbs +++ b/app/assets/javascripts/discourse/app/components/composer-container.hbs @@ -26,7 +26,12 @@ role="form" aria-label={{I18n this.composer.saveLabel}} class="reply-area - {{if this.composer.canEditTags 'with-tags' 'without-tags'}}" + {{if this.composer.canEditTags 'with-tags' 'without-tags'}} + {{if + this.composer.model.showCategoryChooser + 'with-category' + 'without-category' + }}" >