88248: Theming alert

This commit is contained in:
Marie Verdonck
2022-03-24 11:42:04 +01:00
parent b21f76456d
commit 521e4ddb8d
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<div *ngIf="!dismissed" class="alert {{type}} alert-dismissible fade show w-100" role="alert" [@enterLeave]="animate">
<div *ngIf="!dismissed" class="alert {{type}} alert-dismissible fade show w-100 p-3" role="alert" [@enterLeave]="animate">
<span *ngIf="content" [innerHTML]="content | translate"></span>
<ng-content></ng-content>

View File

@@ -5,7 +5,7 @@
<div *ngIf="item && item.isWithdrawn" class="withdrawn-warning">
<ds-alert [type]="AlertTypeEnum.Warning">
<div class="d-flex justify-content-between flex-wrap">
<span>{{'item.alerts.withdrawn' | translate}}</span>
<span class="align-self-center">{{'item.alerts.withdrawn' | translate}}</span>
<a routerLink="/home" class="btn btn-primary btn-sm">{{"404.link.home-page" | translate}}</a>
</div>
</ds-alert>