diff --git a/src/fellchensammlung/static/fellchensammlung/css/bulma-styles.css b/src/fellchensammlung/static/fellchensammlung/css/bulma-styles.css index 1b2b027..a7028c9 100644 --- a/src/fellchensammlung/static/fellchensammlung/css/bulma-styles.css +++ b/src/fellchensammlung/static/fellchensammlung/css/bulma-styles.css @@ -63,7 +63,7 @@ IMAGES *****/ -#my-gallery .main-photo img { +.gallery .main-photo img { width: 100%; height: 300px; object-fit: cover; diff --git a/src/fellchensammlung/static/fellchensammlung/js/photoswipe.js b/src/fellchensammlung/static/fellchensammlung/js/photoswipe.js index 32364d0..d1e0d52 100644 --- a/src/fellchensammlung/static/fellchensammlung/js/photoswipe.js +++ b/src/fellchensammlung/static/fellchensammlung/js/photoswipe.js @@ -1,7 +1,7 @@ import PhotoSwipeLightbox from 'https://unpkg.com/photoswipe/dist/photoswipe-lightbox.esm.js'; const lightbox = new PhotoSwipeLightbox({ - gallery: '#my-gallery', + gallery: '.gallery', children: 'a', pswpModule: () => import('https://unpkg.com/photoswipe'), }); diff --git a/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html b/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html index e3f7959..ef6b1f4 100644 --- a/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html +++ b/src/fellchensammlung/templates/fellchensammlung/details/bulma-detail-adoption-notice.html @@ -38,7 +38,7 @@