Browse Source

UI: Fix show long notification

pull/7911/head
Vladyslav_Prykhodko 3 years ago
parent
commit
016b4efeea
  1. 1
      ui-ngx/src/app/shared/components/notification/notification.component.scss
  2. 2
      ui-ngx/src/app/shared/components/notification/notification.component.ts

1
ui-ngx/src/app/shared/components/notification/notification.component.scss

@ -37,6 +37,7 @@
font-size: 14px;
line-height: 16px;
color: rgba(0, 0, 0, 0.76);
word-break: break-word;
}
.button {

2
ui-ngx/src/app/shared/components/notification/notification.component.ts

@ -142,6 +142,8 @@ export class NotificationComponent implements OnInit {
notificationIconColor(): object {
if (this.notification.type === NotificationType.ALARM) {
return {color: AlarmSeverityNotificationColors.get(this.notification.info.alarmSeverity)};
} else if (this.notification.type === NotificationType.RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT) {
return {color: '#D12730'};
}
return null;
}

Loading…
Cancel
Save