UX: Put the HR in the correct place

This commit is contained in:
Robin Ward 2018-01-09 17:48:52 -05:00
parent 8f21c96ea5
commit 3ed9cbc040
2 changed files with 5 additions and 2 deletions

View File

@ -131,6 +131,10 @@ export default createWidget('user-menu', {
this.attach('user-notifications', { path }) this.attach('user-notifications', { path })
]; ];
if (this.settings.showLogoutButton || this.state.hasUnread) {
result.push(h('hr.bottom-area'));
}
if (this.settings.showLogoutButton) { if (this.settings.showLogoutButton) {
result.push( result.push(
h('div.logout-link', [ h('div.logout-link', [

View File

@ -86,8 +86,7 @@ export default createWidget('user-notifications', {
icon: 'chevron-down', icon: 'chevron-down',
action: 'showAllNotifications', action: 'showAllNotifications',
className: 'btn' className: 'btn'
})), }))
h('hr')
); );
} }