From 47bef377f6e0b023730bc1d44156022fdfa6f38c Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 25 Jan 2018 09:38:02 +0100 Subject: [PATCH] FIX: force full width on mobile for cat and tag drops --- .../javascripts/select-kit/components/category-drop.js.es6 | 1 + app/assets/javascripts/select-kit/components/tag-drop.js.es6 | 1 + 2 files changed, 2 insertions(+) diff --git a/app/assets/javascripts/select-kit/components/category-drop.js.es6 b/app/assets/javascripts/select-kit/components/category-drop.js.es6 index c589dc2091c..89a8d485f0d 100644 --- a/app/assets/javascripts/select-kit/components/category-drop.js.es6 +++ b/app/assets/javascripts/select-kit/components/category-drop.js.es6 @@ -18,6 +18,7 @@ export default ComboBoxComponent.extend({ categoryStyle: Ember.computed.alias("siteSettings.category_style"), noCategoriesLabel: I18n.t("categories.no_subcategory"), mutateAttributes() {}, + fullWidthOnMobile: true, init() { this._super(); diff --git a/app/assets/javascripts/select-kit/components/tag-drop.js.es6 b/app/assets/javascripts/select-kit/components/tag-drop.js.es6 index 8919679f757..1ebcd1e9bae 100644 --- a/app/assets/javascripts/select-kit/components/tag-drop.js.es6 +++ b/app/assets/javascripts/select-kit/components/tag-drop.js.es6 @@ -19,6 +19,7 @@ export default ComboBoxComponent.extend({ tagId: null, categoryStyle: Ember.computed.alias("siteSettings.category_style"), mutateAttributes() {}, + fullWidthOnMobile: true, @computed("tagId") noTagsSelected() {