]> source.dussan.org Git - nextcloud-server.git/commitdiff
always show the image in the middle of the screen, regardless of scrolling
authorRobin Appelman <icewind1991@gmail.com>
Sat, 4 Jun 2011 20:20:57 +0000 (22:20 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Sat, 4 Jun 2011 20:20:57 +0000 (22:20 +0200)
apps/files_imageviewer/css/lightbox.css

index 225b11ff9a2cbb2b5ce933226cd7f45504b59b4a..d5a1c335146729ecce8201b3a4b2960660945aeb 100644 (file)
@@ -1,5 +1,5 @@
 #lightbox_overlay{
-       position:absolute;
+       position:fixed;
        height:100%;
        width:100%;
        top:0px;
@@ -11,7 +11,7 @@
 }
 
 #lightbox{
-       position:absolute;
+       position:fixed;
        max-height:90%;
        max-width:90%;
        top:10px;