Image-grid is not displaying horizontally
Sample (which sample are you having trouble with)
Image Grid https://github.com/pnp/List-Formatting/tree/master/view-samples/image-grid
What Should Happen
Displays image horizontally
What Actually Happens
It was correctly displaying the images horizontally across the section, then wrapping to the next line once it filled the section width. Now it is displaying them in a single vertical row.
Any options how it can be fixed.
@reshmee011 as far as I know, it's a problem related to "float": "left", used by another sample to create a column graph. Basically, the new Microsoft Lists UI doesn't allow this CSS trick anymore. I will test again with your sample to see if any workaround is available.
I saw that this issue has also been reported in the sp-dev-docs repository. https://github.com/SharePoint/sp-dev-docs/issues/10008
I suspect it was caused by an Microsoft Lists update. At this time, I haven’t figured out how to fix it...
@reshmee011 I had this issue, my recommendation would be update document to use List View > Gallery plus adjust the height and weight as possible workaround.
oh no, I love this view, it was the best! I'm not clever enough to figure a work around.
oh no, I love this view, it was the best! I'm not clever enough to figure a work around.
hi @Belinda-dot i have updated sample to include tile/gallery option.