diff --git a/projects/common/element-components/compound-elements/likert.component.ts b/projects/common/element-components/compound-elements/likert.component.ts index 227a07bfd8afda11e43f120b8c897ab1f3d6138a..b2dfabc81d75d11773d795ede6dcc318ce5edb41 100644 --- a/projects/common/element-components/compound-elements/likert.component.ts +++ b/projects/common/element-components/compound-elements/likert.component.ts @@ -30,7 +30,9 @@ import { LikertElement } from '../../models/compound-elements/likert-element'; </div> <ng-container *ngFor="let question of elementModel.questions; let i = index"> - <app-likert-radio-button-group [style.display]="'grid'" + <app-likert-radio-button-group + [ngClass]="{ 'odd': i % 2 ===0 }" + [style.display]="'grid'" [style.grid-column-start]="1" [style.grid-column-end]="elementModel.answers.length + 2" [style.grid-row-start]="2 + i"