From 93086843ea4d6dd4cac29fc425d1f46b9b3ff696 Mon Sep 17 00:00:00 2001 From: Eduard Kuzmenko Date: Sat, 27 Feb 2021 17:13:27 +0400 Subject: [PATCH] Fix round video time z-index --- src/components/wrappers.ts | 1 + src/scss/style.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/wrappers.ts b/src/components/wrappers.ts index 2d245682..447094d8 100644 --- a/src/components/wrappers.ts +++ b/src/components/wrappers.ts @@ -133,6 +133,7 @@ export function wrapVideo({doc, container, message, boxWidth, boxHeight, withTai canvas.width = canvas.height = doc.w/* * window.devicePixelRatio */; divRound.prepend(canvas, spanTime); + divRound.append(video); container.append(divRound); const ctx = canvas.getContext('2d'); diff --git a/src/scss/style.scss b/src/scss/style.scss index 50cccb4a..39098800 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -1200,7 +1200,7 @@ middle-ellipsis-element { } .video-time { - padding: 1px 6px 2px 7px; + padding: 1px 6px 2px; background-color: rgba(0, 0, 0, .23) !important; }