Boris Voropaev 2023-11-23 12:07:26 +03:00
parent a363b9e4b3
commit aaf27d7fd3
2 changed files with 10 additions and 11 deletions

View File

@ -4,8 +4,9 @@
<div class="posters">
<div class="item" *ngFor="let poster of posters"><img [src]="poster.links?.full" /></div>
</div>
<div class="excerpt">{{page.excerpt}}</div>
<div class="excerpt">{{!!page.excerpt!!}}</div>
</div>
<div class="content" *ngIf="page.content" [innerHTML]="page.content"></div>
<page-sections [page]="page" [editMode]="editMode" [modelType]="'publication'"></page-sections>
</div>
</div>

View File

@ -312,13 +312,11 @@ publications-list{
margin-bottom: 24px;
.poster{
width: 665px;
height: 468px;
max-width: calc( 100vw - 80px);
max-height: calc( (100vw - 80px ) * 0.7 );
margin-bottom: 8px;
img{
border: 1px solid var(--second-dis);
width: 100%;
display: flex;
}
border: 1px solid var(--second-dis);
}
.posters{
display: flex;
@ -334,13 +332,13 @@ publications-list{
:hover{
border-color: var(--prime-act);
}
img{
object-fit: cover;
width: 100%;
height: 100%;
}
}
}
img{
object-fit: cover;
width: 100%;
height: 100%;
}
}