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 11, 2023
1 parent 84e6dfb commit 320751a
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" class="contact-existing">
<template #icon>
<IconDetails :size="20" />
Expand Down Expand Up @@ -260,16 +260,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 320751a

Please sign in to comment.