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
canvas.width = canvas.height = doc.w/* * window.devicePixelRatio */; canvas.width = canvas.height = doc.w/* * window.devicePixelRatio */;
divRound.prepend(canvas, spanTime); divRound.prepend(canvas, spanTime);
divRound.append(video);
container.append(divRound); container.append(divRound);
const ctx = canvas.getContext('2d'); const ctx = canvas.getContext('2d');

2
src/scss/style.scss

@ -1200,7 +1200,7 @@ middle-ellipsis-element {
} }
.video-time { .video-time {
padding: 1px 6px 2px 7px; padding: 1px 6px 2px;
background-color: rgba(0, 0, 0, .23) !important; background-color: rgba(0, 0, 0, .23) !important;
} }

Loading…
Cancel
Save