UX: Add another div to aid in styling via flexbox

This commit is contained in:
Robin Ward 2017-08-30 13:43:56 -04:00
parent b100ea1baa
commit 3aed047b7e
1 changed files with 9 additions and 1 deletions

View File

@ -78,6 +78,14 @@ createWidget('reply-to-tab', {
}); });
createWidget('post-avatar-user-info', {
tagName: 'div.post-avatar-user-info',
html(attrs) {
return this.attach('poster-name', attrs);
}
});
createWidget('post-avatar', { createWidget('post-avatar', {
tagName: 'div.topic-avatar', tagName: 'div.topic-avatar',
@ -108,7 +116,7 @@ createWidget('post-avatar', {
result.push(h('div.poster-avatar-extra')); result.push(h('div.poster-avatar-extra'));
if (this.settings.displayPosterName) { if (this.settings.displayPosterName) {
result.push(this.attach('poster-name', attrs)); result.push(this.attach('post-avatar-user-info', attrs));
} }
return result; return result;