Fixed storybook with migration to WP5

This commit is contained in:
Vito Albano
2023-11-17 02:18:25 +00:00
parent 80f894eecd
commit dede5b4759
10 changed files with 65 additions and 40 deletions

View File

@@ -2,8 +2,7 @@
overflow: auto;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
.app-cloud-layout-tab-body .mat-tab-body-wrapper {
.app-cloud-layout-tab-body .mat-mdc-tab-body-content {
height: 100%;
}

View File

@@ -1,16 +1,6 @@
@use '@angular/material' as mat;
@import '../../lib/core/src/lib/styles/index';
@import '../../lib/core/src/lib/styles/typography';
// TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
// The following line adds:
// 1. Default typography styles for all components
// 2. Styles for typography hierarchy classes (e.g. .mat-headline-1)
// If you specify typography styles for the components you use elsewhere, you should delete this line.
// If you don't need the default component typographies but still want the hierarchy styles,
// you can delete this line and instead use:
// `@include mat.legacy-typography-hierarchy(mat.define-typography-config());`
@include mat.all-component-typographies;
@include mat.core;

View File

@@ -1,15 +1,5 @@
@use '@angular/material' as mat;
@import '~@alfresco/adf-core/theming';
// TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
// The following line adds:
// 1. Default typography styles for all components
// 2. Styles for typography hierarchy classes (e.g. .mat-headline-1)
// If you specify typography styles for the components you use elsewhere, you should delete this line.
// If you don't need the default component typographies but still want the hierarchy styles,
// you can delete this line and instead use:
// `@include mat.legacy-typography-hierarchy($alfresco-typography);`
@include mat.all-component-typographies($alfresco-typography);
@include mat.core;