diff --git a/public/css/legacy/fields.css b/public/css/legacy/fields.css index e0f981d01f..715f884040 100644 --- a/public/css/legacy/fields.css +++ b/public/css/legacy/fields.css @@ -21,10 +21,10 @@ .disp-area { background-color: #eee; - padding: 3px; + padding: 6px; margin-bottom: 7px; border-radius: 3px; } .disp-area-no-val { - min-height: 17px; + height: 30px; } \ No newline at end of file diff --git a/public/js/legacy/widgets/form/fields.js b/public/js/legacy/widgets/form/fields.js index a66b791008..4f6cac7d3d 100644 --- a/public/js/legacy/widgets/form/fields.js +++ b/public/js/legacy/widgets/form/fields.js @@ -45,13 +45,14 @@ Field.prototype.make_body = function() { this.$wrapper = $('
\ \
\ +
\
\
\
').appendTo(this.parent); this.wrapper = this.$wrapper.get(0); this.label_area = this.label_span = this.$wrapper.find(".control-label").get(0); - this.input_area = this.$wrapper.find(".controls").get(0); + this.input_area = this.$wrapper.find(".control-input").get(0); this.disp_area = this.$wrapper.find(".control-value").get(0); // set description @@ -449,7 +450,7 @@ LinkField.prototype.make_input = function() { this.input = this.txt; } else { me.input = me.input_area; - me.input_group = $('