From 4130a8fa2883d879c25fbf373f249c1836fe310b Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 13 Feb 2023 17:10:25 -0500 Subject: [PATCH] styles cleanup --- .../header-actions/header-actions.module.ts | 4 ++- .../page-layout/page-layout.component.html | 24 ++++++++---------- .../page-layout/page-layout.component.scss | 25 +++---------------- 3 files changed, 17 insertions(+), 36 deletions(-) diff --git a/projects/aca-content/src/lib/components/header-actions/header-actions.module.ts b/projects/aca-content/src/lib/components/header-actions/header-actions.module.ts index a17eec67f..7a0be9c6b 100644 --- a/projects/aca-content/src/lib/components/header-actions/header-actions.module.ts +++ b/projects/aca-content/src/lib/components/header-actions/header-actions.module.ts @@ -29,9 +29,11 @@ import { CoreModule } from '@alfresco/adf-core'; import { AppToolbarModule } from '../toolbar/toolbar.module'; import { AppSearchInputModule } from '../search/search-input.module'; import { HeaderActionsComponent } from './header-actions.component'; +import { MatButtonModule } from '@angular/material/button'; +import { MatIconModule } from '@angular/material/icon'; @NgModule({ - imports: [CommonModule, CoreModule.forChild(), AppToolbarModule, AppSearchInputModule], + imports: [CommonModule, CoreModule.forChild(), AppToolbarModule, AppSearchInputModule, MatButtonModule, MatIconModule], declarations: [HeaderActionsComponent], exports: [HeaderActionsComponent] }) diff --git a/projects/aca-shared/src/lib/components/page-layout/page-layout.component.html b/projects/aca-shared/src/lib/components/page-layout/page-layout.component.html index 0bf4e1942..9a22692ec 100644 --- a/projects/aca-shared/src/lib/components/page-layout/page-layout.component.html +++ b/projects/aca-shared/src/lib/components/page-layout/page-layout.component.html @@ -1,13 +1,11 @@ -
-
- - -
- - -
+
+ + +
+ + diff --git a/projects/aca-shared/src/lib/components/page-layout/page-layout.component.scss b/projects/aca-shared/src/lib/components/page-layout/page-layout.component.scss index 52106c597..dbdfa33ad 100644 --- a/projects/aca-shared/src/lib/components/page-layout/page-layout.component.scss +++ b/projects/aca-shared/src/lib/components/page-layout/page-layout.component.scss @@ -3,18 +3,7 @@ .aca-page-layout { @include flex-column; - .aca-content-container { - display: flex; - flex-direction: column; - flex: 1; - height: 100%; - overflow: hidden; - min-height: 0; - } - .aca-content-header { - border-left: none; - border-right: none; background: var(--theme-page-layout-header-background-color); height: 96px; padding: 0 24px; @@ -29,9 +18,9 @@ width: 100%; .adf-breadcrumb-item { - font-size: 20px !important; - font-weight: 400 !important; - letter-spacing: 0.15px !important; + font-size: 20px; + font-weight: 400; + letter-spacing: 0.15px; } } @@ -54,14 +43,6 @@ overflow: auto !important; } } - - .sidebar { - display: block; - height: 100%; - overflow-y: scroll; - max-width: 350px; - width: 350px; - } } [dir='rtl'] .aca-page-layout {