Skip to content

Commit

Permalink
fix(avatar): move user status aside to not intersect with borders
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy committed Aug 13, 2024
1 parent 6e1f37e commit 833d1aa
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1095,5 +1095,11 @@ export default {
line-height: 1.2;
overflow: hidden;
outline-offset: -2px;

.avatardiv__user-status,
.conversation-icon__type {
right: -6px !important;
bottom: -2px !important;
}
}
</style>
6 changes: 6 additions & 0 deletions src/components/RightSidebar/Participants/Participant.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,12 @@ export default {
outline-offset: -2px;
cursor: default;

.avatardiv__user-status,
.avatar-wrapper__user-status {
right: -6px !important;
bottom: -2px !important;
}

a, a * {
cursor: default;
}
Expand Down
7 changes: 7 additions & 0 deletions src/components/TopBar/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,14 @@ export default {
}
}

:deep(.avatardiv__user-status) {
right: -6px !important;
bottom: -2px !important;
}

:deep(.conversation-icon__type) {
right: -6px !important;
bottom: -2px !important;
color: var(--original-color-main-text) !important;
border-color: var(--original-color-main-background) !important;
background-color: var(--original-color-main-background) !important;
Expand Down

0 comments on commit 833d1aa

Please sign in to comment.