summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-28 18:53:06 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-28 18:53:06 -0700
commita936bc008824e90519465bae66eadfdc4d2cb91b (patch)
treea523bbe6debe16a472172df6ec225a4c6de4edb0 /ext/bg/js
parent7a37c10aedecd1d3fb5b0a8d28068762c4a3b597 (diff)
Fixing field table
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/options-form.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/options-form.js b/ext/bg/js/options-form.js
index 5b7107c7..6e79303b 100644
--- a/ext/bg/js/options-form.js
+++ b/ext/bg/js/options-form.js
@@ -100,9 +100,9 @@ function populateAnkiFields(element, opts) {
const body = $('<tbody>');
names.forEach((name) => {
const row = $('<tr>');
- row.append($('<td>').text(name));
+ row.append($('<td>', {class: 'col-sm-2'}).text(name));
const value = opts[optKey][name] || '';
- row.append($('<input>', {class: 'anki-field-value form-control', value}).data('field', name).change(onOptionsAnkiChanged));
+ row.append($('<td>', {class: 'col-sm-10'}).append($('<input>', {class: 'anki-field-value form-control', value}).data('field', name).change(onOptionsAnkiChanged)));
body.append(row);
});