your croissants were probably under-proofed. just let them proof a bit longer so they get wobbly and increase visually in size. when under-proofed the butter tends to leak out from in between the layers and you end up with a butter puddle.