UX: Add another div to aid in styling via flexbox
This commit is contained in:
parent
b100ea1baa
commit
3aed047b7e
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue