diff --git a/libs/angular-accelerator/src/lib/components/page-header/page-header.component.html b/libs/angular-accelerator/src/lib/components/page-header/page-header.component.html index 3cea622b..62538c88 100644 --- a/libs/angular-accelerator/src/lib/components/page-header/page-header.component.html +++ b/libs/angular-accelerator/src/lib/components/page-header/page-header.component.html @@ -1,4 +1,4 @@ -
+
{ }) it('should render a horizontal layout container with md breakpoint by default', async () => { - const expectedClasses = ['flex', 'py-3', 'gap-3', 'flex-column', 'md:flex-row'] + const expectedClasses = ['flex', 'gap-3', 'flex-column', 'md:flex-row'] expect(await ocxContentContainerHarness.getLayoutClasses()).toEqual(expectedClasses) expect(await ocxContentContainerHarness.getLayout()).toEqual('horizontal') expect(await ocxContentContainerHarness.getBreakpoint()).toEqual('md') @@ -33,7 +33,7 @@ describe('OcxContentContainerComponent', () => { it('should render a horizontal layout container while respecting a specified breakpoint', async () => { component.breakpoint = 'lg' - const expectedClassesLG = ['flex', 'py-3', 'gap-3', 'flex-column', 'lg:flex-row'] + const expectedClassesLG = ['flex', 'gap-3', 'flex-column', 'lg:flex-row'] expect(await ocxContentContainerHarness.getLayoutClasses()).toEqual(expectedClassesLG) expect(await ocxContentContainerHarness.getLayout()).toEqual('horizontal') expect(await ocxContentContainerHarness.getBreakpoint()).toEqual('lg') @@ -42,7 +42,7 @@ describe('OcxContentContainerComponent', () => { it('should render a vertical layout container if specified', async () => { component.layout = 'vertical' - const expectedClasses = ['flex', 'py-3', 'gap-3', 'flex-column'] + const expectedClasses = ['flex', 'gap-3', 'flex-column'] expect(await ocxContentContainerHarness.getLayoutClasses()).toEqual(expectedClasses) expect(await ocxContentContainerHarness.getLayout()).toEqual('vertical') expect(await ocxContentContainerHarness.getBreakpoint()).toBeUndefined() diff --git a/libs/portal-integration-angular/src/lib/core/components/page-content/page-content.component.html b/libs/portal-integration-angular/src/lib/core/components/page-content/page-content.component.html index e892f81a..60f71421 100644 --- a/libs/portal-integration-angular/src/lib/core/components/page-content/page-content.component.html +++ b/libs/portal-integration-angular/src/lib/core/components/page-content/page-content.component.html @@ -1,3 +1,3 @@ -
+
diff --git a/libs/portal-integration-angular/src/lib/core/components/page-content/page-content.component.ts b/libs/portal-integration-angular/src/lib/core/components/page-content/page-content.component.ts index c2ec9920..7c597642 100644 --- a/libs/portal-integration-angular/src/lib/core/components/page-content/page-content.component.ts +++ b/libs/portal-integration-angular/src/lib/core/components/page-content/page-content.component.ts @@ -1,5 +1,7 @@ import { Component, Input } from '@angular/core' - +/** + * @deprecated This component will be removed in favor of ocx-content and ocx-content-container in a future release. + */ @Component({ selector: 'ocx-page-content', templateUrl: './page-content.component.html', diff --git a/libs/portal-integration-angular/src/lib/core/directives/content-container.directive.ts b/libs/portal-integration-angular/src/lib/core/directives/content-container.directive.ts index 5f4cec71..2d5a983f 100644 --- a/libs/portal-integration-angular/src/lib/core/directives/content-container.directive.ts +++ b/libs/portal-integration-angular/src/lib/core/directives/content-container.directive.ts @@ -42,7 +42,7 @@ export class OcxContentContainerDirective implements OnInit, OnChanges { }) removeClasses(classesToRemove) } - const sharedClasses = ['flex', 'py-3', 'gap-3', 'flex-column'] + const sharedClasses = ['flex', 'gap-3', 'flex-column'] removeResponsiveLayoutClasses() addClasses(sharedClasses) if (this.layout != 'vertical') {