Hi Veena,
I have actually now found the solution to this – some items in the galley had no tags applied. In this case the styling was rendered incorrectly. I have now added tags to these items and the gallery is displaying correctly.
Best regards,
Chris