From 247f7ca466d52b4f8b418f8ef1de06ae08cc362f Mon Sep 17 00:00:00 2001 From: Faizaan Gagan Date: Wed, 14 Jul 2021 13:32:19 +0530 Subject: [PATCH] IMPROVE: reduce field placeholder setting textarea width --- .../discourse/templates/components/wizard-custom-field.hbs | 1 + assets/stylesheets/common/wizard-admin.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs b/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs index c669692a..3b63cef7 100644 --- a/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs +++ b/assets/javascripts/discourse/templates/components/wizard-custom-field.hbs @@ -120,6 +120,7 @@
{{textarea name="field_placeholder" + class="medium" value=field.placeholder}}
diff --git a/assets/stylesheets/common/wizard-admin.scss b/assets/stylesheets/common/wizard-admin.scss index 2d6c9a6a..66cc6b43 100644 --- a/assets/stylesheets/common/wizard-admin.scss +++ b/assets/stylesheets/common/wizard-admin.scss @@ -256,6 +256,10 @@ width: 100%; box-sizing: border-box; margin-bottom: 0; + + &.medium { + width: 40%; + } } input[type="number"] {