diff --git a/www/form/app-form.less b/www/form/app-form.less index e630c8ca1..d763ed204 100644 --- a/www/form/app-form.less +++ b/www/form/app-form.less @@ -344,8 +344,6 @@ color: @cp_sidebar-hint; margin-bottom: 10px; padding: 0; - text-align: center; - font-weight: bold; } .cp-form-block-drag-handle { @@ -404,6 +402,7 @@ .cp-form-required-radio { flex-direction: row; display: flex; + margin-bottom: 20px; span { margin-right: 10px; &.cp-radio-mark { diff --git a/www/form/inner.js b/www/form/inner.js index e1dadd81d..373b5a266 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -91,8 +91,10 @@ define([ var saveAndCancelOptions = function (cb) { Messages.form_preview_button = "Preview"; // XXX - var cancelBlock = h('button.btn.btn-secondary.cp-form-preview-button', - Messages.form_preview_button); + var cancelBlock = h('button.btn.btn-default.cp-form-preview-button',[ + h('i.fa.fa-eye'), + Messages.form_preview_button + ]); $(cancelBlock).click(function () { cb(undefined, true); }); return cancelBlock;