From dbbbf91405af7c20c9f1ab458b84871708b60ca1 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Fri, 18 Nov 2022 12:39:38 +0100
Subject: [PATCH] OZG-2966 OZG-3177 Improve download button UI (2)

---
 .../postfach-mail-list/postfach-mail-list.component.html     | 1 +
 .../postfach-mail-list/postfach-mail-list.component.scss     | 3 ---
 .../postfach-mail-pdf-button-container.component.scss        | 5 -----
 .../postfach-page-mail-list.component.scss                   | 5 +++++
 4 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/goofy-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail-list.component.html b/goofy-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail-list.component.html
index 02e6bb3a8f..5cb98c6e3a 100644
--- a/goofy-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail-list.component.html
+++ b/goofy-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail-list.component.html
@@ -40,6 +40,7 @@
 <ng-container *ngIf="postfachMailListStateResource.resource | hasLink: postfachMailListLinkRel.SEND_POSTFACH_MAIL; else noPostfach">
 	<goofy-client-postfach-mail-button-container [vorgang]="vorgang" data-test-id="postfach-mail-button-container"></goofy-client-postfach-mail-button-container>
 </ng-container>
+
 <ng-template #noPostfach>
 	<span class="no-postfach-text" data-test-id="no-postfach-text">Dieser Vorgang ist nicht mit einem Postfach verknüpft.</span>
 </ng-template>
diff --git a/goofy-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail-list.component.scss b/goofy-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail-list.component.scss
index 3ec3a52b5d..0673dd871d 100644
--- a/goofy-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail-list.component.scss
+++ b/goofy-client/libs/postfach/src/lib/postfach-mail-list-container/postfach-mail-list/postfach-mail-list.component.scss
@@ -54,9 +54,6 @@ h3 {
 .nachrichten-header {
 	border-top: 1px solid rgba(0, 0, 0, 0.08);
 	margin-top: 16px;
-}
-
-.nachrichten-header {
 	padding-top: 16px;
 	display: flex;
 	width: 100%;
diff --git a/goofy-client/libs/postfach/src/lib/postfach-mail-pdf-button-container/postfach-mail-pdf-button-container.component.scss b/goofy-client/libs/postfach/src/lib/postfach-mail-pdf-button-container/postfach-mail-pdf-button-container.component.scss
index c2475463f1..9a08a5aabc 100644
--- a/goofy-client/libs/postfach/src/lib/postfach-mail-pdf-button-container/postfach-mail-pdf-button-container.component.scss
+++ b/goofy-client/libs/postfach/src/lib/postfach-mail-pdf-button-container/postfach-mail-pdf-button-container.component.scss
@@ -21,8 +21,3 @@
  * Die sprachspezifischen Genehmigungen und Beschränkungen
  * unter der Lizenz sind dem Lizenztext zu entnehmen.
  */
-
- :host {
-	display: block;
-	margin: 16px 24px;
- }
\ No newline at end of file
diff --git a/goofy-client/libs/postfach/src/lib/postfach-page-container/postfach-page/postfach-page-mail-list/postfach-page-mail-list.component.scss b/goofy-client/libs/postfach/src/lib/postfach-page-container/postfach-page/postfach-page-mail-list/postfach-page-mail-list.component.scss
index fe21b00c45..72d2a7b3cc 100644
--- a/goofy-client/libs/postfach/src/lib/postfach-page-container/postfach-page/postfach-page-mail-list/postfach-page-mail-list.component.scss
+++ b/goofy-client/libs/postfach/src/lib/postfach-page-container/postfach-page/postfach-page-mail-list/postfach-page-mail-list.component.scss
@@ -66,3 +66,8 @@
 		}
 	}
 }
+
+goofy-client-postfach-mail-pdf-button-container {
+	display: block;
+	margin: 16px 24px;
+}
\ No newline at end of file
-- 
GitLab