Fix buttons in the support page

pull/1/head
yflory 5 years ago
parent d285c6b791
commit 64a092c630

@ -123,7 +123,9 @@ Messages.support_category = "Category"; // XXX
container: $(container), container: $(container),
isSelect: true isSelect: true
}; };
return UIElements.createDropdown(dropdownCfg); var $select = UIElements.createDropdown(dropdownCfg);
$select.find('button').addClass('btn');
return $select;
}; };
var makeForm = function (ctx, cb, title) { var makeForm = function (ctx, cb, title) {
@ -151,6 +153,7 @@ Messages.support_category = "Category"; // XXX
h('hr'), h('hr'),
category, category,
catContainer, catContainer,
h('br'),
h('input.cp-support-form-title' + (title ? '.cp-hidden' : ''), { h('input.cp-support-form-title' + (title ? '.cp-hidden' : ''), {
placeholder: Messages.support_formTitle, placeholder: Messages.support_formTitle,
type: 'text', type: 'text',
@ -162,7 +165,7 @@ Messages.support_category = "Category"; // XXX
}), }),
h('label', Messages.support_attachments), h('label', Messages.support_attachments),
attachments = h('div.cp-support-attachments'), attachments = h('div.cp-support-attachments'),
addAttachment = h('button', Messages.support_addAttachment), addAttachment = h('button.btn', Messages.support_addAttachment),
h('hr'), h('hr'),
button, button,
cancel cancel

Loading…
Cancel
Save