Skip to content

Commit

Permalink
Merge pull request #612 from lokesh/remove-preload-css
Browse files Browse the repository at this point in the history
Remove image preloading in css. Not req.
  • Loading branch information
lokesh authored Nov 26, 2017
2 parents 0f3db85 + c101cb1 commit fe24939
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/css/lightbox.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
/* Preload images */
body:after {
content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
display: none;
}

html.lb-disable-scrolling {
overflow: hidden;
/* Position fixed required for iOS. Just putting overflow: hidden; on the body is not enough. */
position: fixed;
height: 100vh;
width: 100vw;
overflow: hidden;
}

.lightboxOverlay {
Expand Down

0 comments on commit fe24939

Please # to comment.