diff --git a/projects/common/element-components/compound-elements/likert.component.ts b/projects/common/element-components/compound-elements/likert.component.ts index d106fb9492cab5600467d91bcfce0f812b5dff54..f2e2e689430b141a3f77f5614d0035395a6cbdcd 100644 --- a/projects/common/element-components/compound-elements/likert.component.ts +++ b/projects/common/element-components/compound-elements/likert.component.ts @@ -28,19 +28,16 @@ import { CompoundElementComponent } from './compound-element.directive'; [style.grid-row-start]="1" [style.grid-row-end]="2"> <div *ngFor="let column of elementModel.columns; let i = index" class="columns" + fxLayout="column" [style.grid-column-start]="2 + i" [style.grid-column-end]="3 + i" [style.grid-row-start]="1" [style.grid-row-end]="2"> <img *ngIf="column.imgSrc && column.position === 'above'" - [src]="column.imgSrc | safeResourceUrl" alt="Image Placeholder" - [style.object-fit]="'scale-down'" - [width]="200"> - {{column.text}} + [src]="column.imgSrc | safeResourceUrl" alt="Image Placeholder"> + <div>{{column.text}}</div> <img *ngIf="column.imgSrc && column.position === 'below'" - [src]="column.imgSrc | safeResourceUrl" alt="Image Placeholder" - [style.object-fit]="'scale-down'" - [width]="200"> + [src]="column.imgSrc | safeResourceUrl" alt="Image Placeholder"> </div> </div>