From d829d46550d288d63497feb8724d0daf3ba1efec Mon Sep 17 00:00:00 2001 From: Bhanu Date: Mon, 23 Jan 2023 16:50:30 +0530 Subject: [PATCH 1/4] Fix category selector overflow on mobile The category selector tends to overflow on mobile due to width being declared as 500px, This commit changes that to max-width and adding width: 100% to make it scale to screen size. --- assets/stylesheets/common/wizard/mobile.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/stylesheets/common/wizard/mobile.scss b/assets/stylesheets/common/wizard/mobile.scss index e0fa8a72c1..31f3c50b6e 100644 --- a/assets/stylesheets/common/wizard/mobile.scss +++ b/assets/stylesheets/common/wizard/mobile.scss @@ -33,4 +33,9 @@ body.custom-wizard { margin-bottom: 20px; width: 100%; } + + .wizard-category-selector { + width: 100%; + max-width: 500px; +} } From d12ac90fab1219c77c3f9895f24e093ab3938e7a Mon Sep 17 00:00:00 2001 From: Bhanu Date: Mon, 23 Jan 2023 17:08:35 +0530 Subject: [PATCH 2/4] Fix minor typo --- assets/stylesheets/common/wizard/mobile.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/stylesheets/common/wizard/mobile.scss b/assets/stylesheets/common/wizard/mobile.scss index 31f3c50b6e..38e5ee6276 100644 --- a/assets/stylesheets/common/wizard/mobile.scss +++ b/assets/stylesheets/common/wizard/mobile.scss @@ -37,5 +37,5 @@ body.custom-wizard { .wizard-category-selector { width: 100%; max-width: 500px; -} + } } From 91370437b47afe9651a49737638f06db0be95f99 Mon Sep 17 00:00:00 2001 From: Bhanu Date: Mon, 23 Jan 2023 17:16:54 +0530 Subject: [PATCH 3/4] Take Two --- assets/stylesheets/common/wizard/mobile.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/stylesheets/common/wizard/mobile.scss b/assets/stylesheets/common/wizard/mobile.scss index 38e5ee6276..909ab9d6fc 100644 --- a/assets/stylesheets/common/wizard/mobile.scss +++ b/assets/stylesheets/common/wizard/mobile.scss @@ -33,9 +33,10 @@ body.custom-wizard { margin-bottom: 20px; width: 100%; } - + .wizard-category-selector { - width: 100%; max-width: 500px; + width: 100%; } + } From 1fea823c5fae17cfb1f7bcbea437e8ed9a3f448c Mon Sep 17 00:00:00 2001 From: Bhanu Date: Mon, 6 Feb 2023 08:25:44 +0530 Subject: [PATCH 4/4] version bump trying to fix tests --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 3d84d670cb..ea58ed0aee 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true # name: discourse-custom-wizard # about: Forms for Discourse. Better onboarding, structured posting, data enrichment, automated actions and much more. -# version: 2.1.4 +# version: 2.1.5 # authors: Angus McLeod, Faizaan Gagan, Robert Barrow, Keegan George, Kaitlin Maddever # url: https://github.com/paviliondev/discourse-custom-wizard # contact_emails: development@pavilion.tech