aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_elements/notifications/notifications.component.html
diff options
context:
space:
mode:
authorDanijel Andjelkovic <adanijel99@gmail.com>2022-04-20 00:12:42 +0000
committerDanijel Andjelkovic <adanijel99@gmail.com>2022-04-20 00:12:42 +0000
commitb814ef17d31dca80a3f23b3fbe4ce56885192a4c (patch)
treed7a297db46d57267b5516a8c20ee906dd39571ed /frontend/src/app/_elements/notifications/notifications.component.html
parent9a480b28ac9b93dee082925b9cb4beef3244b135 (diff)
parente6d9e3fd2dcf83c90db8560e749544dfd9910d07 (diff)
Merge branch 'dev' into 'master'
Merge master See merge request igrannonica/neuronstellar!27
Diffstat (limited to 'frontend/src/app/_elements/notifications/notifications.component.html')
-rw-r--r--frontend/src/app/_elements/notifications/notifications.component.html16
1 files changed, 10 insertions, 6 deletions
diff --git a/frontend/src/app/_elements/notifications/notifications.component.html b/frontend/src/app/_elements/notifications/notifications.component.html
index ef897cfc..3b2f4eaa 100644
--- a/frontend/src/app/_elements/notifications/notifications.component.html
+++ b/frontend/src/app/_elements/notifications/notifications.component.html
@@ -11,14 +11,18 @@
</button>
</h2>
- <div id="collapseNotifs" class="collapse show">
+ <div id="collapseNotifs" class="collapse show overflow-auto" style="max-height: 32rem;">
<div *ngFor="let notification of notifications" class="p-2 m-1 border rounded">
- <div class="d-flex flex-row">
- <p>{{notification.title}}</p>
- </div>
- <div *ngIf="notification.hasProgress" class="border-3 border-primary bg-dark m-1" style="height: 5px; margin-top: -10px !important;">
- <div class="bg-primary" style="height: 5px;" [style]="'width: '+(notification.progress*100)+'%;'">
+ <div class="d-flex flex-row ">
+ <div>
+ <p>{{notification.title}}</p>
+ <div *ngIf="notification.hasProgress" class="border-3 border-primary bg-dark m-1" style="height: 5px; margin-top: -10px !important; min-width: 12rem;">
+ <div class="bg-primary" style="height: 5px;" [style]="'width: '+(notification.progress*100)+'%;'">
+ </div>
+ </div>
</div>
+ <button type="button" class="btn-close ms-auto align-self-center" aria-label="Close" (click)="removeNotification(notification);"></button>
</div>
+
</div>
</div> \ No newline at end of file