I'm performing an ng-repeat of labels
<span class="label label-primary" style="margin-right:5px;" ng-repeat="a in data.tags">{{a.tagName}}</span>
If the output is many labels, it goes off the screen, instead of wrapping responsively according to the col-md size i have it in.
see example: http://www.bootply.com/119412
What gives?
Thanks!
Changing display:inline to inline-block fixed this.
<span class="label label-primary" style="margin-right:5px; display:inline-block" ng-repeat="a in data.tags">{{a.tagName}}</span>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With