Commit 3796b03e7cca3a486a8bbe5974532f14242cea4b
wrap message_id "input" in a div so that it does not stretch vertically
Dominic Tarr committed on 5/29/2016, 3:09:50 AMParent: 08e1fc42a3722f8f133fdcb3a7460462d599f889
Files changed
modules/message_id.js | changed |
modules/message_id.js | ||
---|---|---|
@@ -1,10 +1,10 @@ | ||
1 | 1 | |
2 | 2 | var h = require('hyperscript') |
3 | 3 | |
4 | 4 | exports.message_meta = function (msg) { |
5 | - return h('input', {value: msg.key, readonly:'', onclick: function (ev) { | |
5 | + return h('div',h('input', {value: msg.key, readonly:'', onclick: function (ev) { | |
6 | 6 | ev.target.select() |
7 | 7 | ev.stopPropagation() |
8 | 8 | ev.preventDefault() |
9 | - }}) | |
9 | + }})) | |
10 | 10 | } |
Built with git-ssb-web