diff --git a/package.json b/package.json index d2a9e1a..83bda8c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@jsanahuja/instagramfeed", "description": "Instagram Feed without access token. Not using the Instagram API", "homepage": "https://github.com/jsanahuja/InstagramFeed", - "version": "1.5.1", + "version": "1.5.2", "keywords": [ "instagram", "feed", diff --git a/src/InstagramFeed.js b/src/InstagramFeed.js index c7e8790..dcba919 100644 --- a/src/InstagramFeed.js +++ b/src/InstagramFeed.js @@ -151,7 +151,7 @@ 'profile_name': " style='font-size:1.2em;'", 'profile_biography': " style='font-size:1em;'", 'gallery_image': " style='width:100%;'", - 'gallery_image_link': " style='width:" + width + "%; margin:" + this.options.margin + "%; position:relative; display: inline-flex; height: 100%;'" + 'gallery_image_link': " style='width:" + width + "%; margin:" + this.options.margin + "%; position:relative; display: inline-block; height: 100%;'" }; // Caption Styling if(this.options.display_captions){ @@ -162,10 +162,11 @@ font-size: 0.8rem;\ color: black;\ position: absolute;\ + left: 0;\ + right: 0;\ bottom: 0;\ padding: 1%;\ max-height: 100%;\ - width: 100%;\ overflow-y: auto;\ overflow-x: hidden;\ background-color: hsla(0, 100%, 100%, 0.8);\