diff --git a/frontend/elements/photo-lightbox.html b/frontend/elements/photo-lightbox.html index 9c57bc1..9b36340 100644 --- a/frontend/elements/photo-lightbox.html +++ b/frontend/elements/photo-lightbox.html @@ -5,6 +5,7 @@ + @@ -27,7 +28,7 @@ #image { display: inline-block; - position: relative; + position: absolute; top: 0px; left: 0px; width: 100%; @@ -39,9 +40,29 @@ -webkit-transition: opacity 0.5s ease-in-out; pointer-events: none; } + + #overlay { + position: absolute; + top: 0px; + left: 0px; + width: 100%; + height: 100%; + pointer-events: none; + } + + #overlay > div { + height: 100%; + } -
+
+
+ +
+
+ +
+