Style tweaks for question edit and preview

pull/1/head
David Benqué 3 years ago
parent fe9d17cd17
commit ae95f06bdb

@ -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 {

@ -87,8 +87,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;

Loading…
Cancel
Save