From f62832681ebd17ce6efc9e88127bca007f2bdddb Mon Sep 17 00:00:00 2001 From: Pascal Date: Thu, 23 Jan 2025 11:09:39 +0100 Subject: [PATCH] signature_modal_ok --- public/style/chat.css | 18 ++++++++++++------ src/pages/chat/chat.ts | 7 +++++++ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/public/style/chat.css b/public/style/chat.css index 77acd40..c5c2dce 100755 --- a/public/style/chat.css +++ b/public/style/chat.css @@ -12,7 +12,6 @@ body { font-family: Arial, sans-serif; margin: 0; padding: 0; - overflow: hidden; } @@ -146,7 +145,7 @@ body { margin-top: 9vh; margin-left: -1%; text-align: left; - width: 209vh; + width: 100vw; } @@ -196,7 +195,7 @@ body { background-color:#f1f1f1; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); - margin: 1% 4% 0.5% 1%; + margin: 1% 0% 0.5% 1%; } /* En-tĂȘte du chat */ @@ -326,9 +325,16 @@ body { color: var(--primary-color); } -chat-element { - width: 100%; - height: 90vh; +/* Signature */ +.signature-area { + display: flex; + flex-direction: column; + flex: 1; + min-width: 0; + background-color:#f1f1f1; + border-radius: 10px; + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); + margin: 1% 0% 0.5% 1%; } #message-input { diff --git a/src/pages/chat/chat.ts b/src/pages/chat/chat.ts index 6b843af..b73e6c9 100755 --- a/src/pages/chat/chat.ts +++ b/src/pages/chat/chat.ts @@ -87,6 +87,13 @@ class ChatElement extends HTMLElement { + + +
+
+

Signature

+
+
`; window.loadMemberChat = async (memberId: string | number) => {