Commit 74fe7cba24a1be16ab96edeb828f80c1740bef44
right aligned Publish button
Joran committed on 12/18/2016, 1:41:06 AMParent: 9746cd345f014701f5911b233fe5aec3e3c52edb
Files changed
modules_basic/compose.js | changed |
modules_basic/private.js | changed |
modules_basic/compose.js | ||
---|---|---|
@@ -117,12 +117,12 @@ | ||
117 | 117 … | } |
118 | 118 … | } |
119 | 119 … | |
120 | 120 … | |
121 | - var publishBtn = h('button.btn', 'Publish', {onclick: publish}) | |
121 … | + var publishBtn = h('button.btn.btn-default.pull-right', 'Publish', {onclick: publish}) | |
122 | 122 … | var composer = |
123 | 123 … | h('div.compose', h('div.column', ta, |
124 | - accessories = h('div.row.compose__controls', | |
124 … | + accessories = h('div.compose__controls', | |
125 | 125 … | //hidden until you focus the textarea |
126 | 126 … | {style: {display: opts.shrink === false ? '' : 'none'}}, |
127 | 127 … | api.file_input(function (file) { |
128 | 128 … | files.push(file) |
modules_basic/private.js | ||
---|---|---|
@@ -99,9 +99,9 @@ | ||
99 | 99 … | |
100 | 100 … | message_meta: function (msg) { |
101 | 101 … | if(msg.value.content.recps || msg.value.private) |
102 | 102 … | return h('span.row', 'PRIVATE', map(msg.value.content.recps, function (id) { |
103 | - return api.avatar_image_link('string' == typeof id ? id : id.link, 'thumbnail') | |
103 … | + return api.avatar_image_link('string' == typeof id ? id : id.link, 'avatar') | |
104 | 104 … | })) |
105 | 105 … | }, |
106 | 106 … | |
107 | 107 … | message_content_mini: function (msg, sbot) { |
@@ -114,5 +114,4 @@ | ||
114 | 114 … | } |
115 | 115 … | } |
116 | 116 … | |
117 | 117 … | } |
118 | - |
Built with git-ssb-web