From 34e909c4d5ffb84532b7e2d8be26e4c1fc9569a2 Mon Sep 17 00:00:00 2001 From: awade Date: Wed, 15 Mar 2023 19:32:43 +0000 Subject: [PATCH] alteracoes layout --- public/css/styles.css | 2 +- public/css/teste | 68 ------------------------------------------- public/js/main.js | 2 +- 3 files changed, 2 insertions(+), 70 deletions(-) delete mode 100644 public/css/teste diff --git a/public/css/styles.css b/public/css/styles.css index 7a8db4b..fac90a0 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -212,7 +212,7 @@ html { .sidebar { grid-column: 1 / 2; /* background: var(--white); */ - border-right: 1px solid rgba(226, 226, 226, 0.7); + border-right: 1px solid rgb(43 48 59); } .sidebar-span { diff --git a/public/css/teste b/public/css/teste deleted file mode 100644 index cf68686..0000000 --- a/public/css/teste +++ /dev/null @@ -1,68 +0,0 @@ -@media (max-width: 680px) { - .app { - grid-template-columns: 30em 1fr; - /* grid-template-columns: 1fr; */ - } - - /* .sidebar { - display: none; - } */ - } - - @media (max-width: 850px) { - .app { - grid-template-columns: 33em 1fr; - } - } - - @media (max-height: 820px) { - #welcometomessage h1, - h2 { - font-size: 30px; - } - - #welcometomessage img { - width: 300px; - } - } - - @media (max-height: 1380px) { - .chats { - height: 65vh; - padding-bottom: 20px; - } - } - - @media (max-height: 700px) { - .type-message-bar { - bottom: 2rem; - } - /* .estatisticas { - display: none; - } */ - .chats { - height: 60vh; - padding-bottom: 30px; - } - .type-message-bar { - bottom: 0; - } - } - - - - - /* @media (max-height: 650px) { - .chats { - height: 50vh; - padding-bottom: 30px; - } - } */ - /* - @media (max-height: 550px) { - .type-message-bar { - bottom: 11rem; - } - } - */ - \ No newline at end of file diff --git a/public/js/main.js b/public/js/main.js index 1425c3a..fcc4497 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -279,7 +279,7 @@ const sendMessage = (obj = {}) => { typeof obj.fileContent === "undefined" ? $("#fieldsendmessage").val() : obj.content; - let name = agent.data.nome ? agent.data.nome : "Atendente"; + let name = agent.data.nome ? agent.data.nome : "*_" + localStorage.getItem('name') + "_:*\n"; let uniqueid = localStorage.getItem("session_uniqueid"); let media = obj.media ? obj.media : "whatsapp"; let type = obj.type ? obj.type : "text";