diff --git a/.gitignore b/.gitignore index aab8b24..c8c30e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -prod \ No newline at end of file +prod +.scannerwork \ No newline at end of file diff --git a/package.json b/package.json index 6210ca3..27fc371 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,8 @@ "build:watch": "tsc --watch", "lint": "eslint src --max-warnings 0", "start": "node --watch prod/develop.js", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "scan": "SONAR_TOKEN='op://Environment Variables - Development/SonarCloud/website-headers' op run -- sonar-scanner -Dsonar.organization=nhcarrigan -Dsonar.projectKey=nhcarrigan_website-headers -Dsonar.sources=. -Dsonar.host.url=https://sonarcloud.io" }, "keywords": [], "author": "", diff --git a/src/index.ts b/src/index.ts index 93fb3d4..34a0f2e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -218,6 +218,9 @@ videoOverlay.style.position = "fixed"; videoOverlay.style.top = "0"; videoOverlay.style.left = "0"; videoOverlay.style.opacity = "0.25"; +videoOverlay.style.width = "100vw"; +videoOverlay.style.height = "100vh"; +videoOverlay.style.objectFit = "cover"; // #endregion