From 84300a767430e8ac36359231806c9f3b402aa5c3 Mon Sep 17 00:00:00 2001 From: Tomasz Nastaly Date: Thu, 4 Apr 2024 15:59:30 +0200 Subject: [PATCH] [ACS-7419] Fix broken styling of notifications, apply pr remarks --- .../notification-history.component.html | 31 ++++++++++--------- .../notification-history.component.scss | 8 ++--- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/lib/core/src/lib/notifications/components/notification-history.component.html b/lib/core/src/lib/notifications/components/notification-history.component.html index d06d940116..3f14cc4460 100644 --- a/lib/core/src/lib/notifications/components/notification-history.component.html +++ b/lib/core/src/lib/notifications/components/notification-history.component.html @@ -35,23 +35,26 @@ + -
-
- - {{notification.icon}} - -
-

{{ message }}

-

{{notification.datetime | adfTimeAgo}}

+
+
+
+ + {{notification.icon}} + +
+

{{ message }}

+

{{notification.datetime | adfTimeAgo}}

+
diff --git a/lib/core/src/lib/notifications/components/notification-history.component.scss b/lib/core/src/lib/notifications/components/notification-history.component.scss index 21f9be7b9a..0a640700fe 100644 --- a/lib/core/src/lib/notifications/components/notification-history.component.scss +++ b/lib/core/src/lib/notifications/components/notification-history.component.scss @@ -4,17 +4,15 @@ $notification-item-height: 72px; .adf { &-notification-history-list { - /* stylelint-disable */ - .mat-mdc-list-item-unscoped-content { + .adf-notification-history-menu-item-content-wrapper { height: 100%; - display: flex !important; - align-items: center !important; + display: flex; + align-items: center; } .mdc-list-item__secondary-text::before { height: auto; } - /* stylelint-enable */ } &-notification-history-menu-item-content {