From 64a092c630f5b287e7489ad11973b2ddbe0ee9fc Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 19 Jun 2020 18:21:06 +0200 Subject: [PATCH] Fix buttons in the support page --- www/support/ui.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/support/ui.js b/www/support/ui.js index 30d98f389..2be5cff1e 100644 --- a/www/support/ui.js +++ b/www/support/ui.js @@ -123,7 +123,9 @@ Messages.support_category = "Category"; // XXX container: $(container), isSelect: true }; - return UIElements.createDropdown(dropdownCfg); + var $select = UIElements.createDropdown(dropdownCfg); + $select.find('button').addClass('btn'); + return $select; }; var makeForm = function (ctx, cb, title) { @@ -151,6 +153,7 @@ Messages.support_category = "Category"; // XXX h('hr'), category, catContainer, + h('br'), h('input.cp-support-form-title' + (title ? '.cp-hidden' : ''), { placeholder: Messages.support_formTitle, type: 'text', @@ -162,7 +165,7 @@ Messages.support_category = "Category"; // XXX }), h('label', Messages.support_attachments), attachments = h('div.cp-support-attachments'), - addAttachment = h('button', Messages.support_addAttachment), + addAttachment = h('button.btn', Messages.support_addAttachment), h('hr'), button, cancel