diff options
Diffstat (limited to 'frontend/src/app/_elements/carousel')
| -rw-r--r-- | frontend/src/app/_elements/carousel/carousel.component.html | 22 | 
1 files changed, 12 insertions, 10 deletions
| diff --git a/frontend/src/app/_elements/carousel/carousel.component.html b/frontend/src/app/_elements/carousel/carousel.component.html index ea522626..755899a7 100644 --- a/frontend/src/app/_elements/carousel/carousel.component.html +++ b/frontend/src/app/_elements/carousel/carousel.component.html @@ -1,12 +1,14 @@ -<div class="d-flex flex-row"> -    <div class="mx-2" *ngFor="let item of items" [ngSwitch]="item.constructor.name"> -        <ng-template ngSwitchCase="Dataset"> -            <app-item-dataset [dataset]="item"> -            </app-item-dataset> -        </ng-template> -        <ng-template ngSwitchCase="Predictor"> -            <app-item-predictor> -            </app-item-predictor> -        </ng-template> +<div class="container"> +    <div class="row d-flex align-items-stretch flex-row mx-5 align-items-stretch"> +        <div class="col my-1" *ngFor=" let item of items" [ngSwitch]="item.constructor.name"> +            <ng-template ngSwitchCase="Dataset"> +                <app-item-dataset [dataset]="item"> +                </app-item-dataset> +            </ng-template> +            <ng-template ngSwitchCase="Predictor"> +                <app-item-predictor [predictor]="item"> +                </app-item-predictor> +            </ng-template> +        </div>      </div>  </div>
\ No newline at end of file | 
