I\'m trying to make a grid of thumbnails, where each thumbnail has an image and a label. It works fine if all the labels have the same length, because then all the thumbnail
If you know how many thumbnails wide is your arrangement, then you can use to wrap thumbnails in groups of three (or N).
Otherwise, the workaround would be to set a fixed height for the thumbnail element. On your example
.thumbnail {
height:420px;
}
However, if your thumbnail height and text can vary a lot, then it will either look awkward or hide part of the img/label.