Page 1 of 1

[Fixed] Mod portal image gallery bug

Posted: Tue Aug 04, 2020 8:12 pm
by VortiK
Hello,

I dunno if it has been reported but there is a bug with the image gallery on the new design on the mod portal when there is many images to describe a mod :

https://mods.factorio.com/mod/vtk-deep-core-mining

https://imgur.com/2qKQaxv

As you can see, the images of the gallery are all properly present in the HTML of the page, but the slider crop some of them.

Re: Mod portal image gallery bug

Posted: Tue Aug 04, 2020 8:23 pm
by VortiK
Apparently it can be fixed very simply by removing the CSS justify content:center; to the .gallery-thumbnails class

https://imgur.com/a/3th1SIF

Re: Mod portal image gallery bug

Posted: Wed Aug 05, 2020 10:53 am
by Sanqui
A bit of a stupid behavior from flexbox there, fixed in a different way because I wanted to keep the thumbnails centered when there's only a few. Thanks!