diff --git a/assets/javascripts/wizard/initializers/custom.js.es6 b/assets/javascripts/wizard/initializers/custom.js.es6 index 18eee19e..f034facd 100644 --- a/assets/javascripts/wizard/initializers/custom.js.es6 +++ b/assets/javascripts/wizard/initializers/custom.js.es6 @@ -172,7 +172,7 @@ export default { }.property('field.type', 'field.id') }); - const StandardFields = ['text', 'textarea', 'dropdown', 'image', 'checkbox', 'user-selector', 'text-only', 'composer']; + const StandardFieldValidation = ['text', 'textarea', 'dropdown', 'image', 'checkbox', 'user-selector', 'text-only', 'composer']; FieldModel.reopen({ hasCustomCheck: false, @@ -197,7 +197,7 @@ export default { const type = this.get('type'); if (type === 'checkbox') { valid = val; - } else if (StandardFields.indexOf(type) > -1) { + } else if (StandardFieldValidation.indexOf(type) > -1) { valid = val && val.length > 0; } } diff --git a/assets/stylesheets/wizard/wizard_custom.scss b/assets/stylesheets/wizard/wizard_custom.scss index 9e2a3b9f..2d51926e 100644 --- a/assets/stylesheets/wizard/wizard_custom.scss +++ b/assets/stylesheets/wizard/wizard_custom.scss @@ -217,10 +217,12 @@ margin: 0.5em 0; } - .combo-box ul { - padding: 0; + .combo-box { + ul { + padding: 0; + } - li p { + p { margin: 0; } }