UI: Fix show long notification
This commit is contained in:
parent
3f531d8235
commit
016b4efeea
@ -37,6 +37,7 @@
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 16px;
|
line-height: 16px;
|
||||||
color: rgba(0, 0, 0, 0.76);
|
color: rgba(0, 0, 0, 0.76);
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
|||||||
@ -142,6 +142,8 @@ export class NotificationComponent implements OnInit {
|
|||||||
notificationIconColor(): object {
|
notificationIconColor(): object {
|
||||||
if (this.notification.type === NotificationType.ALARM) {
|
if (this.notification.type === NotificationType.ALARM) {
|
||||||
return {color: AlarmSeverityNotificationColors.get(this.notification.info.alarmSeverity)};
|
return {color: AlarmSeverityNotificationColors.get(this.notification.info.alarmSeverity)};
|
||||||
|
} else if (this.notification.type === NotificationType.RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT) {
|
||||||
|
return {color: '#D12730'};
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user