]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Position:fixed for .global-dropzone-overlay 3367/head
authorDenilson Sá Maia <denilsonsa@gmail.com>
Wed, 10 May 2023 06:01:51 +0000 (08:01 +0200)
committerGitHub <noreply@github.com>
Wed, 10 May 2023 06:01:51 +0000 (08:01 +0200)
If the user tried dropping a file onto the paperless-ngx UI, but the page itself had scrolled down a bit, the overlay would have scrolled together with the page.

This commit makes the overlay fixed to the viewport, independent from the scroll position.

This one-word commit was done directly through the GitHub web interface.

src-ui/src/styles.scss

index 63fa58028cf61be51e96c63f098a50c4b32d8ef7..c8bf19682ca2bb66be5103394ee65bc5292d5204 100644 (file)
@@ -468,7 +468,7 @@ table.table {
 }
 
 .global-dropzone-overlay {
-  position: absolute;
+  position: fixed;
   top: 0;
   right: 0;
   bottom: 0;