Skip to content

Commit

Permalink
fix too big span between avatar and login on RighPanel (fix for 25212df)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkonev committed Sep 11, 2024
1 parent 25212df commit 8f646e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e-test/models/Login.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class Login {
}

async assertNickname(expected) {
return expect(this.page.locator('.v-navigation-drawer__content #test-user-login .v-list-item-title')).toHaveText(expected)
return expect(this.page.locator('.v-navigation-drawer__content #right-panel-user-login .v-list-item-title')).toHaveText(expected)
}

}
6 changes: 5 additions & 1 deletion frontend/src/RightPanelActions.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<v-list>
<v-list-item id="test-user-login" v-if="chatStore.currentUser">
<v-list-item id="right-panel-user-login" v-if="chatStore.currentUser">
<template v-slot:prepend v-if="hasLength(chatStore.currentUser.avatar)">

<v-badge
Expand Down Expand Up @@ -307,4 +307,8 @@ export default {
opacity: settings.$list-item-icon-opacity;
}
}
#right-panel-user-login .v-list-item__prepend > .v-badge ~ .v-list-item__spacer {
width: 16px;
}
</style>

0 comments on commit 8f646e7

Please sign in to comment.