Correction of post card image size.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user