diff --git a/asset/css/gallery.css b/asset/css/gallery.css index 80b74c2..fa6ef8d 100644 --- a/asset/css/gallery.css +++ b/asset/css/gallery.css @@ -34,9 +34,9 @@ opacity: 0; transition: opacity 0.3s ease-in-out; } -.archive-gallery .gallery__thumb { +.gallery__item > .gallery__thumb { padding-top: 0px; - margin: 6px; + margin: 6px 6px 0 6px; display: block; } .archive-gallery .gallery__selector { diff --git a/view/common/block-layout/imageGallery.phtml b/view/common/block-layout/imageGallery.phtml index f285dfc..43c4221 100644 --- a/view/common/block-layout/imageGallery.phtml +++ b/view/common/block-layout/imageGallery.phtml @@ -41,6 +41,13 @@ $this->headLink()->appendStylesheet($this->assetUrl('css/gallery.css', 'ImageGal + + +