[Fixed] Mod portal image gallery bug

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Post Reply
VortiK
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Jan 17, 2018 8:22 pm
Contact:

[Fixed] Mod portal image gallery bug

Post 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.

VortiK
Burner Inserter
Burner Inserter
Posts: 11
Joined: Wed Jan 17, 2018 8:22 pm
Contact:

Re: Mod portal image gallery bug

Post 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

User avatar
Sanqui
Factorio Staff
Factorio Staff
Posts: 268
Joined: Mon May 07, 2018 7:22 pm
Contact:

Re: Mod portal image gallery bug

Post 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!
ovo

Post Reply

Return to “Mod portal Discussion”