Fixing styles not migrated by material

This commit is contained in:
Vito Albano
2023-12-04 16:39:38 +00:00
committed by VitoAlbano
parent 30be2bb6d7
commit 4bfe14de55
19 changed files with 45 additions and 68 deletions

View File

@@ -39,7 +39,7 @@
&-attach-widget-repo-button {
padding-left: 10px;
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
.mat-button-wrapper {
.mdc-button__label {
display: inline;
}
@@ -70,13 +70,13 @@
margin-bottom: 0;
}
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-text {
.mdc-list-item__primary-text {
max-width: 200px;
}
@include layout-bp(lt-md) {
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
.mat-list-text {
.mdc-list-item__primary-text {
max-width: 150px;
}
}

View File

@@ -63,7 +63,7 @@
min-width: 250px;
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
&-userinfo-tab .mat-tab-label {
&-userinfo-tab .mdc-tab__text-label {
flex: auto;
font-weight: 500;
font-size: var(--theme-body-1-font-size);

View File

@@ -95,7 +95,7 @@ adf-start-task {
.adf {
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */
&-start-task-input-container .mat-form-field-wrapper {
&-start-task-input-container .mat-mdc-text-field-wrapper {
padding-top: 8px;
}

View File

@@ -88,7 +88,7 @@ adf-task-details {
}
}
/* TODO(mdc-migration): The following rule targets internal classes of tabs that may no longer apply for the MDC version. */
& .mat-tab-label {
& .mdc-tab__text-label {
flex-grow: 1;
}
}

View File

@@ -13,7 +13,7 @@
border-radius: 5px;
}
/* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
& .mat-button-wrapper {
& .mdc-button__label {
width: 58px;
height: 20px;
opacity: 0.54;

View File

@@ -41,12 +41,12 @@
display: flex;
justify-content: space-between;
& .mat-button {
& .mat-mdc-button {
text-transform: uppercase;
border-radius: 5px;
}
& .mat-button-wrapper {
& .mdc-button__label {
opacity: 0.54;
font-size: var(--theme-button-font-size);
font-weight: bold;