From 3384823988caaaacfccbbe809eb4b7b1ebc77b38 Mon Sep 17 00:00:00 2001 From: rusikv Date: Wed, 1 Mar 2023 17:19:58 +0200 Subject: [PATCH] Fixes due to angular 15 version upgrade --- .../alarm/alarm-assignee-panel.component.html | 2 +- .../alarm/alarm-assignee-panel.component.scss | 21 ++++++------------- .../alarm/alarm-assignee.component.html | 8 ++++--- .../alarm/alarm-assignee.component.scss | 4 +--- .../alarm/alarm-comment.component.html | 13 ++++++------ .../alarm/alarm-details-dialog.component.html | 18 ++++++++-------- .../lib/alarms-table-widget.component.scss | 2 +- 7 files changed, 29 insertions(+), 39 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.html index 9829e8c436..f6ba02e7a0 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee-panel.component.html @@ -15,7 +15,7 @@ limitations under the License. --> - + - + {{ getUserInitials(alarm.assignee) }} {{ getUserDisplayName(alarm.assignee) }} + style="text-overflow: ellipsis"> + {{ getUserDisplayName(alarm.assignee) }} + - + account_circle alarm.unassigned diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.scss b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.scss index 5736aa8ef1..935ac2f32d 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.scss +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-assignee.component.scss @@ -17,9 +17,9 @@ :host { .tb-assignee { cursor: pointer; + max-width: 273px; .assigned-container { - max-width: 233px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; @@ -28,7 +28,6 @@ display: inline-flex; justify-content: center; align-items: center; - margin-right: 8px; border-radius: 50%; width: 28px; height: 28px; @@ -43,7 +42,6 @@ width: 28px; height: 28px; font-size: 28px; - margin-right: 8px; color: rgba(0, 0, 0, 0.38); overflow: visible; } diff --git a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.html b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.html index 990ceb53d0..91b4871d86 100644 --- a/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm/alarm-comment.component.html @@ -42,7 +42,7 @@ -
+
- -
- + -