From db38a1893946c37dfccbe5e77af4f31c63d13a32 Mon Sep 17 00:00:00 2001
From: Martin <git@mail.de>
Date: Fri, 21 Feb 2025 14:12:55 +0100
Subject: [PATCH] OZG-7593 remove postfach-links-disabled

---
 .../incomming-mail/incomming-mail.component.scss             | 4 ----
 .../postfach-mail/outgoing-mail/outgoing-mail.component.scss | 4 ----
 .../postfach-page-mail-list.component.html                   | 5 ++---
 3 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/alfa-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail/incomming-mail/incomming-mail.component.scss b/alfa-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail/incomming-mail/incomming-mail.component.scss
index e0ac6f3a74..a7c44b0f07 100644
--- a/alfa-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail/incomming-mail/incomming-mail.component.scss
+++ b/alfa-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail/incomming-mail/incomming-mail.component.scss
@@ -29,10 +29,6 @@
 a {
   text-decoration: none;
   color: inherit;
-
-  :host-context(.postfach-links-disabled) {
-    pointer-events: none;
-  }
 }
 
 .subject {
diff --git a/alfa-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail/outgoing-mail/outgoing-mail.component.scss b/alfa-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail/outgoing-mail/outgoing-mail.component.scss
index f5ec610968..3a27d85601 100644
--- a/alfa-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail/outgoing-mail/outgoing-mail.component.scss
+++ b/alfa-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail/outgoing-mail/outgoing-mail.component.scss
@@ -25,10 +25,6 @@ a {
   text-decoration: none;
   color: inherit;
 
-  :host-context(.postfach-links-disabled) {
-    pointer-events: none;
-  }
-
   .message {
     margin-bottom: 0.25rem;
   }
diff --git a/alfa-client/libs/postfach/src/lib/postfach-page-container/postfach-page/postfach-page-mail-list/postfach-page-mail-list.component.html b/alfa-client/libs/postfach/src/lib/postfach-page-container/postfach-page/postfach-page-mail-list/postfach-page-mail-list.component.html
index 0d0efa2064..9d74f0c569 100644
--- a/alfa-client/libs/postfach/src/lib/postfach-page-container/postfach-page/postfach-page-mail-list/postfach-page-mail-list.component.html
+++ b/alfa-client/libs/postfach/src/lib/postfach-page-container/postfach-page/postfach-page-mail-list/postfach-page-mail-list.component.html
@@ -26,11 +26,10 @@
 <ozgcloud-spinner *ngIf="postfachMailListStateResource">
   <alfa-postfach-mail
     *ngFor="
-      let postfachMail of postfachMailListStateResource.resource
-        | toEmbeddedResources: postfachMailListLinkRel.POSTFACH_MAIL_LIST
+      let postfachMail of postfachMailListStateResource.resource | toEmbeddedResources: postfachMailListLinkRel.POSTFACH_MAIL_LIST
     "
     [attr.data-test-id]="(postfachMail.subject | convertForDataTest) + '-item'"
-    class="postfach postfach-links-disabled w-full lg:w-1/2"
+    class="postfach w-full lg:w-1/2"
     [postfachMail]="postfachMail"
   >
   </alfa-postfach-mail>
-- 
GitLab