From d4c2152ecdde5d916e0b42198256a5e8c6baae9d Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 14 Apr 2020 08:29:11 +0200 Subject: [PATCH] Move record label --- assets/css/components/calls/window.css | 6 ++++-- assets/js/components/calls/window.js | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/assets/css/components/calls/window.css b/assets/css/components/calls/window.css index 6e51d8c5..16bf8812 100644 --- a/assets/css/components/calls/window.css +++ b/assets/css/components/calls/window.css @@ -64,15 +64,17 @@ color: inherit; } -.call-window .head .record-label { +.call-window .record-label { color: red; margin-left: 10px; + text-align: center; } -.call-window .head .record-label a { +.call-window .record-label a { margin-left: 5px; background-color: darkred !important; font-weight: bold; + color: white; } .call-window .members-area { diff --git a/assets/js/components/calls/window.js b/assets/js/components/calls/window.js index 54c16bf6..f4b81b1c 100644 --- a/assets/js/components/calls/window.js +++ b/assets/js/components/calls/window.js @@ -941,8 +941,8 @@ class CallWindow extends CustomEvents { // Add notice this.recordLabel = createElem2({ - appendTo: this.windowHead, - type: "span", + insertBefore: this.videosArea, + type: "div", class: "record-label", innerHTML: "Recording" });