git ssb

16+

Dominic / patchbay



Commit edfd0a45094b16686ec6472fc43e229687f04843

Merge branch 'master' of ssb://%yxGEc2cFJxAvxGyPL5dzU07L8fRNS8YSxhkmPe68nqA=.sha256 into avatar_edit

Dominic Tarr committed on 7/24/2016, 2:30:17 AM
Parent: 20e18a424acad66e1f6e83ad1aa129f2fabdbb0d
Parent: 4bcfc9f6bc102b97669476fbfb3c7cf0457647ee

Files changed

modules/avatar-profile.jschanged
style.csschanged
modules/avatar-profile.jsView
@@ -1,15 +1,19 @@
11 var h = require('hyperscript')
22 var plugs = require('../plugs')
33
4+
45 var avatar_image = plugs.first(exports.avatar_image = [])
6+var avatar_name = plugs.first(exports.avatar_name = [])
57 var avatar_action = plugs.map(exports.avatar_action = [])
68 var avatar_edit = plugs.first(exports.avatar_edit = [])
79
810 exports.avatar_profile = function (id) {
911 return avatar_edit(id)
1012
1113 return h('div.row.profile',
1214 avatar_image(id),
13- h('div.column', avatar_action(id))
15+ h('div.profile__info',
16+ h('strong', avatar_name(id)),
17+ avatar_action(id))
1418 )
1519 }
style.cssView
@@ -1,8 +1,10 @@
11 body {
22 font-family: "Source Sans Pro", sans-serif;
33 }
44
5+p { margin-top: .35ex;}
6+
57 .screen {
68 position: absolute;
79 top: 0px; bottom: 0px;
810 left: 0px; right: 0px;
@@ -125,9 +127,9 @@
125127 /* messages */
126128
127129 .message {
128130 border: 1px solid #eee;
129- padding: 5px;
131+ padding: 7px;
130132 margin-top: .5em;
131133 background: white;
132134 display: block;
133135 flex-basis: 0;
@@ -212,19 +214,22 @@
212214 }
213215
214216 .profile {
215217 background: #fff;
218+ padding: .5em;
216219 border: 1px solid #eee;
217220 }
218221
219222 .profile img {
220223 width: 150px;
221224 height: 150px;
222- margin-right: 1em;
223- margin-bottom: 1em;
224- border: 1px solid #ccc;
225+ border: 1px solid #eee;
225226 }
226227
228+.profile__info {
229+ margin-left: .5em;
230+}
231+
227232 /* lightbox - used in message-confirm */
228233
229234 .lightbox {
230235 overflow: auto;

Built with git-ssb-web