silverstripe-asset-admin
silverstripe-asset-admin copied to clipboard
Gallery thumbs should use flexbox instead of fixed width to consume space
When we started to build the files area for SS4 we hadn't decided on using flexbox yet so we used a fixed width for thumbnails. Now that we are using flexbox throughout the files area we should update the thumbs to use flexbox to evenly space and spread thumbs to the available space.
Example: https://www.taniarascia.com/how-to-build-a-responsive-image-gallery-with-flexbox/
Agreed, we should use flexbox pretty much everywhere. For me that's more of a long-term maintenance concern though. I'm happy to live with with the visual spacing issues for now. Removing from milestone
FYI We've had someone from the team do a quick look into this and it wasn't an easy one to do apparently, without involving JS.