Set a fixed container for images in publications list imgs

This commit is contained in:
tiago.kayaya
2021-03-27 09:21:40 +01:00
parent 428807c55b
commit ce55c77a94
3 changed files with 6 additions and 7 deletions
@@ -136,7 +136,7 @@
}
.post-img{
width: 100%;
height: 400px;
//height: 400px;
margin: 0 auto;
border-radius: 0px!important;
overflow: hidden;
@@ -31,7 +31,7 @@
<div class="post-item d-md-block mb-10"
*ngFor="let publication of publicationList"
(click)="viewPublicationDetail(publication.DocumentId)">
<div *ngIf="publication.FileBase64.length > 30" class="mb-10 post-img width-md-100 height-lg-unset">
<div *ngIf="publication.FileBase64.length > 30" class="mb-10 post-img width-md-100">
<img src="{{publication.FileBase64}}" alt="image">
</div>
<div *ngIf="publication.FileBase64.length < 30" class="mb-10 post-img">
@@ -131,11 +131,10 @@
padding: 0!important;
}
.post-img{
width: 100%;
height: 400px;
border-radius: 0px!important;
overflow: hidden;
width: 100%;
height: 56.25vh !important;
border-radius: 0px!important;
overflow: hidden;
}
.post-img img{
width: 100%;