]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: hidden canvas element causes scroll bug (#7770)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Tue, 24 Sep 2024 19:26:48 +0000 (12:26 -0700)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 19:26:48 +0000 (12:26 -0700)
src-ui/src/styles.scss

index 412324142d666a1c0fca6a1884e74b0f32a20ce0..c83ebd493b982703b566480963627cdb616ca160 100644 (file)
@@ -680,3 +680,13 @@ code {
     }
   }
 }
+
+// pdfjs
+canvas.hiddenCanvasElement {
+  position: absolute;
+  left: 0;
+  bottom: 0;
+  z-index: -1;
+  height: 0;
+  width: 0;
+}