2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: force full width on mobile for cat and tag drops

This commit is contained in:
Joffrey JAFFEUX 2018-01-25 09:38:02 +01:00 committed by GitHub
parent adae963751
commit 47bef377f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@ export default ComboBoxComponent.extend({
categoryStyle: Ember.computed.alias("siteSettings.category_style"), categoryStyle: Ember.computed.alias("siteSettings.category_style"),
noCategoriesLabel: I18n.t("categories.no_subcategory"), noCategoriesLabel: I18n.t("categories.no_subcategory"),
mutateAttributes() {}, mutateAttributes() {},
fullWidthOnMobile: true,
init() { init() {
this._super(); this._super();

View file

@ -19,6 +19,7 @@ export default ComboBoxComponent.extend({
tagId: null, tagId: null,
categoryStyle: Ember.computed.alias("siteSettings.category_style"), categoryStyle: Ember.computed.alias("siteSettings.category_style"),
mutateAttributes() {}, mutateAttributes() {},
fullWidthOnMobile: true,
@computed("tagId") @computed("tagId")
noTagsSelected() { noTagsSelected() {