Commit 1ba623ec650594963538cebbe8d71345ce30501d
cropper should be column, not row
Dominic Tarr committed on 7/24/2016, 5:12:33 AMParent: 4753e515a6b6bd1c0bb3e9c6b5fcd66e2ba2bc09
Files changed
modules/avatar-edit.js | changed |
modules/avatar-edit.js | ||
---|---|---|
@@ -20,12 +20,12 @@ | ||
20 | 20 | function crop (d, cb) { |
21 | 21 | var data |
22 | 22 | var canvas = hypercrop(h('img', {src: d})) |
23 | 23 | |
24 | - return h('div.row.avatar_pic', | |
24 | + return h('div.column.avatar_pic', | |
25 | 25 | canvas, |
26 | 26 | //canvas.selection, |
27 | - h('div.avatar_pic__controls', | |
27 | + h('div.row.avatar_pic__controls', | |
28 | 28 | h('button', 'okay', {onclick: function () { |
29 | 29 | cb(null, canvas.selection.toDataURL()) |
30 | 30 | }}), |
31 | 31 | h('button', 'cancel', {onclick: function () { |
@@ -107,5 +107,4 @@ | ||
107 | 107 | ) |
108 | 108 | ) |
109 | 109 | } |
110 | 110 | |
111 | - |
Built with git-ssb-web