Skip to content

Commit 25d82ad

Browse files
davide-negrettialisaismailati
authored andcommitted
[UXP-138] Port of [CST-14002] image rendering - fix
1 parent 584a8ac commit 25d82ad

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/rendering-types/image
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
<!--<div *ngIf="(imageUrl$ | async) as url" [style.background-image]="backgroundImageUrl(url)"></div>-->
2-
<img *ngIf="(imageUrl$ | async) as url" [src]="url">
1+
<div [class]="field.styleValue">
2+
<img *ngIf="(imageUrl$ | async) as url" [src]="url">
3+
</div>
4+

0 commit comments

Comments
 (0)