fix: Display of videos in revision history

closes #6176
This commit is contained in:
Tom Moor
2023-12-01 23:15:34 -05:00
parent 2bbc384b5a
commit 25be2fee40
3 changed files with 26 additions and 9 deletions

View File

@@ -1,6 +1,7 @@
/* eslint-disable no-irregular-whitespace */
import { lighten, transparentize } from "polished";
import styled, { DefaultTheme, css, keyframes } from "styled-components";
import { videoStyle } from "./Video";
export type Props = {
rtl: boolean;
@@ -418,6 +419,11 @@ li {
max-width: 100%;
}
video {
pointer-events: initial;
${videoStyle}
}
.ProseMirror-selectednode img {
pointer-events: initial;
}