Browse Source

Fix round video time z-index

master
Eduard Kuzmenko 4 years ago
parent
commit
93086843ea
  1. 1
      src/components/wrappers.ts
  2. 2
      src/scss/style.scss

1
src/components/wrappers.ts

@ -133,6 +133,7 @@ export function wrapVideo({doc, container, message, boxWidth, boxHeight, withTai @@ -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');

2
src/scss/style.scss

@ -1200,7 +1200,7 @@ middle-ellipsis-element { @@ -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;
}

Loading…
Cancel
Save