diff options
author | Cyrille Bollu <cyr.debian@bollu.be> | 2022-01-27 13:09:52 +0300 |
---|---|---|
committer | Cyrille Bollu <cyr.debian@bollu.be> | 2022-01-27 13:40:49 +0300 |
commit | c4c5375c9889af71097298b9ab051dec82ee1ace (patch) | |
tree | 3d640212552e8a78be8058cc50c23114a11828e9 /src | |
parent | 3a9b83091ea5131292a2634da58f2d7fb9510b43 (diff) |
Sets display css property to flex for actions of the RecipientBubble's popover menu, to prevent
ugly line breaks.
See https://github.com/nextcloud/mail/pull/5967
Signed-off-by: Cyrille Bollu <cyr.debian@bollu.be>
Diffstat (limited to 'src')
-rw-r--r-- | src/components/RecipientBubble.vue | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/components/RecipientBubble.vue b/src/components/RecipientBubble.vue index 743843b4b..95703299d 100644 --- a/src/components/RecipientBubble.vue +++ b/src/components/RecipientBubble.vue @@ -36,7 +36,7 @@ {{ contactsWithEmailComputed }} </span> </div> - <div v-if="selection === ContactSelectionStateEnum.select"> + <div v-if="selection === ContactSelectionStateEnum.select" class="contact-menu"> <a class="icon-reply" @click="onClickReply"> <span class="action-label">{{ t('mail', 'Reply') }}</span> </a> @@ -225,6 +225,10 @@ export default { margin: 10px; } +.contact-menu { + display: flex; + flex-wrap: wrap; +} .contact-popover { display: inline-block; } @@ -253,6 +257,8 @@ export default { .icon-checkmark, .icon-close, .icon-add { + display: flex; + align-items: center; height: 44px; min-width: 44px; margin: 0; @@ -268,10 +274,7 @@ export default { background-position: 12px center; } } -.icon-add { - display: revert; - vertical-align: revert; -} + .contact-existing { margin-bottom: 10px; font-size: small; |