I have the following code which might or might not give more than 12 columns in a row.
How can I make it look nice if there is more than 12 columns?
<div collapse="gpCollapse">
<div ng-repeat="item in revealedCtrl.greatPersons" class="thumbnail col-md-3">
<img ng-src="/images/useritems/{{item.greatperson.image}}" tooltip="{{item.greatperson.name}}"/>
<div class="caption">
<h3 class="text-center">{{item.greatperson.name}}</h3>
<p class="text-justify">
{{item.greatperson.description}}
</p>
</div>
</div>
</div>
2
Answers
The reason your layout does not end up looking nice is the variable height of the column content, specifically in
use css to give the column divs (.thumbnail)
and .caption
Define a constant height to “thumbnail” class.