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; }