From f1399d2aefda0e3c8727fdfb4fc71a70a7cf2b4d Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 10 Apr 2020 13:57:43 +0200 Subject: [PATCH] Improve window UI --- assets/css/components/calls/window.css | 16 ++++++++++++++++ assets/js/components/calls/window.js | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/assets/css/components/calls/window.css b/assets/css/components/calls/window.css index c50f90d2..456e751a 100644 --- a/assets/css/components/calls/window.css +++ b/assets/css/components/calls/window.css @@ -24,4 +24,20 @@ flex-direction: column; background-color: #000000b3; visibility: visible; +} + +.call-window .head { + color: white; + padding: 5px; + margin-left: 5px; + margin-right: 5px; +} + +.call-window .head .fa-phone { + margin-right: 5px; + vertical-align: middle; +} + +.call-window .head a { + color: inherit; } \ No newline at end of file diff --git a/assets/js/components/calls/window.js b/assets/js/components/calls/window.js index 2cff2ca4..66bcbc40 100644 --- a/assets/js/components/calls/window.js +++ b/assets/js/components/calls/window.js @@ -49,7 +49,7 @@ class CallWindow extends CustomEvents { this.closeButton = createElem2({ appendTo: windowHead.querySelector(".pull-right"), type: "a", - innerHTML: "", + innerHTML: "", onclick: () => this.Close() }) @@ -65,6 +65,6 @@ class CallWindow extends CustomEvents { this.rootEl.remove(); if(propagate) - this.emitEvent("closed"); + this.emitEvent("close"); } } \ No newline at end of file