We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45b68fa commit 707976cCopy full SHA for 707976c
4.use-case/3.show-result-texts-on-the-video.html
@@ -90,7 +90,7 @@
90
91
textContainer = document.createElement("div");
92
const bodyStyle = getComputedStyle(document.body);
93
- if (bodyStyle.position === "relative") {
+ if (bodyStyle.position !== "static") {
94
const rect = document.body.getBoundingClientRect();
95
const borderWidth = parseInt(bodyStyle.borderWidth);
96
Object.assign(textContainer.style, {
0 commit comments