aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/VideoBox.scss
diff options
context:
space:
mode:
authorgeireann <geireann.lindfield@gmail.com>2021-10-14 15:01:19 -0400
committergeireann <geireann.lindfield@gmail.com>2021-10-14 15:01:19 -0400
commit5bbd1b35d2c3855eae8405e26deb0c6679cc7c26 (patch)
treec9d999f36b078d7fd8f55a74c94ce495c9fa8d4e /src/client/views/nodes/VideoBox.scss
parentbe4fd2492ad706f30af28f33133a4df0e8049e12 (diff)
parented68bbec549dedeb89bcb584151b097863b52d0d (diff)
Merge branch 'master' into schema-view-En-Hua
Diffstat (limited to 'src/client/views/nodes/VideoBox.scss')
-rw-r--r--src/client/views/nodes/VideoBox.scss15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.scss b/src/client/views/nodes/VideoBox.scss
index cdd36eb3b..4871599b8 100644
--- a/src/client/views/nodes/VideoBox.scss
+++ b/src/client/views/nodes/VideoBox.scss
@@ -14,6 +14,9 @@
height: 100%;
position: relative;
.videoBox-viewer {
+ display:flex;
+ flex-direction: column;
+ height: 100%;
border-radius: inherit;
opacity: 0.99; // hack! overcomes some kind of Chrome weirdness where buttons (e.g., snapshot) disappear at some point as the video is resized larger
}
@@ -26,7 +29,17 @@
.videoBox-stackPanel {
z-index: -1;
width: 100%;
- position: absolute;
+ position: relative;
+ }
+
+ .videoBox-annotationLayer {
+ position: relative;
+ transform-origin: left top;
+ top: 0;
+ width: 100%;
+ pointer-events: none;
+ mix-blend-mode: multiply; // bcz: makes text fuzzy!
+ overflow: hidden;
}
}