Correction of post card image size.
This commit is contained in:
@@ -7,7 +7,7 @@ import { environment } from '../../../environments/environment';
|
|||||||
template: `
|
template: `
|
||||||
<div class="card hoverable">
|
<div class="card hoverable">
|
||||||
<div class="view hm-white-slight waves-light" mdbRippleRadius>
|
<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}}">
|
<a routerLink="/posts/{{post.key}}">
|
||||||
<div class="mask"></div>
|
<div class="mask"></div>
|
||||||
</a>
|
</a>
|
||||||
@@ -44,6 +44,9 @@ import { environment } from '../../../environments/environment';
|
|||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
#post-image {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
`]
|
`]
|
||||||
})
|
})
|
||||||
export class PostCardComponent {
|
export class PostCardComponent {
|
||||||
|
|||||||
Reference in New Issue
Block a user