fix:margins in gallery