1
I need a hint on how to sort elements in my home without appearing blank spaces. The problem is: I have a page that lists all the registered services, this page is with pagination that lists the elements 8 per page, so far everything ok, list perfectly the elements, the point is that appear blank spaces that are not desired, they occupy spaces that could be occupied by listed elements.
<h3 ng-if="services.length == 0">Nenhum serviço encontrado.</h3>
<div class="col-4 col-no-left" ng-repeat="service in services">
<a class="service-card" href="{{ service.url }}">
<p class="title " >{{service.name}}</p>
<p ng-bind-html="service.description | limitTo:150 "><p>{{service.description.length >= 15 ? "..." : " "}}</p><p class="btn">ver mais</p></p>
<span ng-repeat="category in service.categories">{{ category.name }}.</span>
</a>
</div>
This block is what I organize the elements in the views. I looked for some solutions, saw about masonry and about the UI-grid, but did not find a step by step how to install and configure them. Grateful for the attention!
Was any of the answer helpful? Don’t forget to choose one and mark it so it can be used if someone has a similar question!
– Sorack