From e5816451c855c8a6b8e28554dc4a787b028ffab6 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 4 Jun 2011 22:20:57 +0200 Subject: [PATCH] always show the image in the middle of the screen, regardless of scrolling --- apps/files_imageviewer/css/lightbox.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_imageviewer/css/lightbox.css b/apps/files_imageviewer/css/lightbox.css index 225b11ff9a..d5a1c33514 100644 --- a/apps/files_imageviewer/css/lightbox.css +++ b/apps/files_imageviewer/css/lightbox.css @@ -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;