@@ -103,6 +103,10 @@
height: 100%;
}
+ p > img {
+ width: 100%;
+ height: 100%;
+ }
.pre {
background-color: antiquewhite;
@@ -228,13 +232,13 @@
$(".ui.dropdown").dropdown();
});
- var lightbox = new PhotoSwipeLightbox({
- gallery: 'p',
- children: 'a',
- // dynamic import is not supported in UMD version
- pswpModule: PhotoSwipe
- });
- lightbox.init();
+ var lightbox = new PhotoSwipeLightbox({
+ gallery: 'p',
+ children: 'a',
+ // dynamic import is not supported in UMD version
+ pswpModule: PhotoSwipe
+ });
+ lightbox.init();
</script>