Skip to content
This repository was archived by the owner on Mar 25, 2023. It is now read-only.

fix(notification-box-view): Fix view of notification-box #843

Merged
merged 5 commits into from
Jan 10, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(notification-box-view): Fix view of notification-box
HeyRoach committed Dec 29, 2017
commit e664beb2efe577657e43d6cc142c5e2041db355c
Original file line number Diff line number Diff line change
@@ -20,7 +20,10 @@ <h4 matLine class="mat-list-item-content">
close
</mat-icon>
</ng-container>
{{ notification.message | translate }}
<span
[ngClass]="{'pending-notification': notification.status === notificationStatus.Pending}">
{{ notification.message | translate }}
</span>
</h4>
<span>
<mat-icon
@@ -32,5 +35,4 @@ <h4 matLine class="mat-list-item-content">
close
</mat-icon>
</span>
<div *ngIf="notification.status === notificationStatus.Pending" class="mock-icon"></div>
</mat-list-item>
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
line-height: 26px;
}

:host /deep/ mat-spinner {
:host mat-spinner {
background: transparent !important;
margin-right: 16px;
width: 40px;
@@ -19,8 +19,7 @@
padding-left: 11px;
}

.mock-icon {
float: right;
width: 37px;
.pending-notification {
padding-right: 33px;
}