Layout for image container fixed

This commit is contained in:
Mohit Nagar
2018-11-27 18:57:31 +05:30
parent d3e9b016e5
commit 326f7d6f3a
2 changed files with 11 additions and 7 deletions

View File

@@ -1,7 +1,9 @@
<div class="row">
<app-image
class="image"
*ngFor="let image of images"
[image]='image'>
</app-image>
<div class="container-fluid">
<div class="row">
<app-image
class="image"
*ngFor="let image of images"
[image]='image'>
</app-image>
</div>
</div>

View File

@@ -3,7 +3,9 @@ p {
}
.row {
display: flex; flex-flow: row wrap;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.row:after {
content: ''; width: 100%;