Correction of post card image size.

This commit is contained in:
Florian
2018-05-26 22:45:04 +02:00
parent a54f2e4d4a
commit 2cfcc2ede4

View File

@@ -7,7 +7,7 @@ import { environment } from '../../../environments/environment';
template: `
<div class="card hoverable">
<div class="view hm-white-slight waves-light" mdbRippleRadius>
<img class="img-fluid" [src]="post.image" alt="Article" />
<img id="post-image" class="img-fluid" [src]="post.image" alt="Article" />
<a routerLink="/posts/{{post.key}}">
<div class="mask"></div>
</a>
@@ -44,6 +44,9 @@ import { environment } from '../../../environments/environment';
border-radius: 50%;
margin-right: 15px;
}
#post-image {
width: 100%;
}
`]
})
export class PostCardComponent {