From 7699ced606cb4c5fe6d7e96b17510ce6c31992ca Mon Sep 17 00:00:00 2001 From: Sukh <6563909+sukhpalp@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:44:57 -0700 Subject: [PATCH] Fix alignment of header (#1978) --- .../full-details/full-details.component.html | 31 ++++++++++----- .../full-details/full-details.component.scss | 38 +++++++++---------- 2 files changed, 39 insertions(+), 30 deletions(-) diff --git a/client/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.html b/client/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.html index a3905ee865..0d14735e9b 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.html +++ b/client/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.html @@ -1,17 +1,28 @@
- Arrow Left{{getTitle()}} - Cancel +
+ Arrow Left + {{getTitle()}} + Cancel +
+
- - - - - + + + + +
-
+ \ No newline at end of file diff --git a/client/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.scss b/client/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.scss index b253eeda7f..05c11189e8 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.scss +++ b/client/wfnews-war/src/main/angular/src/app/components/full-details/full-details.component.scss @@ -129,31 +129,29 @@ } .full-details-header { - height: 25px; - width: 95%; + line-height: 45px; + padding: 0 12px; position: absolute; - display: flex; - padding: 10px 20px; - justify-content: space-between; - align-items: flex-start; - align-self: stretch; + width: 100%; + z-index: 1000 !important; background-color: white; - &-left-button { - position: relative; - top: 5px; - margin-left: 5px; - width: 20px; - height: 20px; - } + .header-row { + display: flex; + justify-content: space-between; + width: calc(100% - 24px); + align-items: center; - &-right-button { - position: relative; - top: 5px; - margin-right: 5px; - width: 20px; - height: 20px; + .left-button { + width: 20px; + height: 20px; + } + + .right-button { + width: 20px; + height: 20px; + } } }