Skip to content

Commit

Permalink
feat(TopBar): show description during call
Browse files Browse the repository at this point in the history
Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
  • Loading branch information
DorraJaouad committed Feb 5, 2024
1 parent 0683e1d commit 37fde6f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/components/TopBar/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,19 @@
{{ conversation.displayName }}
</p>
<p v-if="showUserStatusAsDescription"
class="description">
class="description"
:class="{'description__in-chat' : !isInCall }">
{{ statusMessage }}
</p>
<template v-if="!isInCall && conversation.description">
<template v-if="conversation.description">
<p v-tooltip.bottom="{
content: renderedDescription,
delay: { show: 500, hide: 500 },
autoHide: false,
html: true,
}"
class="description">
class="description"
:class="{'description__in-chat' : !isInCall }">
{{ conversation.description }}
</p>
</template>
Expand Down Expand Up @@ -498,7 +500,9 @@ export default {
overflow: hidden;
text-overflow: ellipsis;
max-width: fit-content;
color: var(--color-text-lighter);
&__in-chat {
color: var(--color-text-maxcontrast);
}
}
}
</style>

0 comments on commit 37fde6f

Please sign in to comment.