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

Commit

Permalink
fix(notification-box-view): Fix view of notification-box
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyRoach committed Dec 29, 2017
1 parent c5f0402 commit e664beb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Up @@ -3,7 +3,7 @@
line-height: 26px;
}

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

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

0 comments on commit e664beb

Please sign in to comment.