From 88de3359a59699800189f4bf631bfb2377590357 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Wed, 11 Oct 2023 13:25:20 +0530 Subject: [PATCH] fix: Long names hide the resolve button (#8083) Co-authored-by: Pranav Raj S --- .../conversation/ConversationHeader.vue | 47 +++++++++-------- .../widgets/conversation/MessagesView.vue | 2 +- .../conversation/contact/ContactInfo.vue | 50 ++++++++++--------- 3 files changed, 53 insertions(+), 46 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue b/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue index b87598f88..742b6003a 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ConversationHeader.vue @@ -3,10 +3,10 @@ class="bg-white dark:bg-slate-900 flex justify-between items-center py-2 px-4 border-b border-slate-50 dark:border-slate-800/50 flex-col md:flex-row" >
-
- -

+
+ - {{ currentContact.name }} - -

-
+ + {{ currentContact.name }} + + + +
+
diff --git a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue index 5da5408e4..684a06117 100644 --- a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue +++ b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue @@ -12,7 +12,7 @@ variant="smooth" size="tiny" color-scheme="secondary" - class="rounded-bl-calc rtl:rotate-180 rounded-tl-calc fixed top-[6.25rem] z-10 bg-white dark:bg-slate-700 border-slate-50 dark:border-slate-600 border-solid border border-r-0 box-border" + class="rounded-bl-calc rtl:rotate-180 rounded-tl-calc fixed top-[9.5rem] md:top-[6.25rem] z-10 bg-white dark:bg-slate-700 border-slate-50 dark:border-slate-600 border-solid border border-r-0 box-border" :icon="isRightOrLeftIcon" @click="onToggleContactPanel" /> diff --git a/app/javascript/dashboard/routes/dashboard/conversation/contact/ContactInfo.vue b/app/javascript/dashboard/routes/dashboard/conversation/contact/ContactInfo.vue index 7333d0664..a7cdfc0cf 100644 --- a/app/javascript/dashboard/routes/dashboard/conversation/contact/ContactInfo.vue +++ b/app/javascript/dashboard/routes/dashboard/conversation/contact/ContactInfo.vue @@ -18,36 +18,38 @@
-
+

{{ contact.name }}

- - - + - + + + +