HugoPhotoSwipe icon indicating copy to clipboard operation
HugoPhotoSwipe copied to clipboard

Demo broken

Open supersexy opened this issue 4 years ago • 2 comments

Demo website broken, at least it does not look like what I expected, it is just a website with a list of images, no gallery... wait, quick screenshot added...

image

supersexy avatar Feb 23 '21 18:02 supersexy

Have you tried tapping on any of the images? That's when the gallery opens. If that doesn't work for you, then there is indeed an issue, so let me know.

GjjvdBurg avatar Feb 23 '21 22:02 GjjvdBurg

It works OK when you click on the images in the dogs (or cats) album.

Yet, I can see where @supersexy is coming from. The list of images doesn't feel like a gallery so for a second I too thought that it didn't work. Maybe adding this little bit of css inline makes it feel more like a gallery where one would click on an image?

.gallery {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
}
figure {
  position: relative;
}
figcaption {
  display: block;
  position: absolute;
  bottom:5px;
  background-color: rgba(255, 255, 255, 0.75)
}

Output: image

sebastiaan-lampo avatar Feb 24 '21 03:02 sebastiaan-lampo