Skip to content

Commit

Permalink
fix: Merge overlapping recipient popovers
Browse files Browse the repository at this point in the history
1) Popover for the recipient email
2) Popover for Contacts integration

Now the contents are merged into one popover.

Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Apr 12, 2023
1 parent 69dcf08 commit c2925f1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/RecipientBubble.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
:display-name="label"
:avatar-image="avatarUrlAbsolute"
@click="onClickOpenContactDialog">
<span class="user-bubble-email">{{ email }}</span>
</UserBubble>
<div class="contact-wrapper">
<p class="contact-popover__email">{{ email }}</p>
<ButtonVue
v-if="contactsWithEmail && contactsWithEmail.length > 0"
type="tertiary-no-background"
Expand Down Expand Up @@ -280,16 +280,17 @@ export default {
.user-bubble__title {
max-width: 30vw;
}
.user-bubble-email {
margin: 10px;
}
.contact-menu {
display: flex;
flex-wrap: wrap;
}
.contact-popover {
display: inline-block;
&__email {
text-align: center;
}
}
.contact-wrapper {
padding:10px;
Expand Down

0 comments on commit c2925f1

Please sign in to comment.