fix: card grid grid gets streched if vertical space is not used fully
Fixed by adding a container for the card grid. That way the actual card grid has no height and is therefore not streched vertically.
This commit is contained in:
@@ -20,11 +20,14 @@
|
||||
<pdb-gallery-filter-view (valueChanged)="filterChanged($event)"></pdb-gallery-filter-view>
|
||||
|
||||
</div>
|
||||
<div
|
||||
*ngIf="show"
|
||||
id="gallery"
|
||||
class="card-grid-300">
|
||||
<pdb-gallery-item-view
|
||||
*ngFor="let galleryItem of filteredSortedGalleryItems()" [data]="galleryItem">
|
||||
</pdb-gallery-item-view>
|
||||
<div
|
||||
*ngIf="show"
|
||||
class="card-grid-container">
|
||||
<div
|
||||
id="gallery"
|
||||
class="card-grid-300">
|
||||
<pdb-gallery-item-view
|
||||
*ngFor="let galleryItem of filteredSortedGalleryItems()" [data]="galleryItem">
|
||||
</pdb-gallery-item-view>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user