Skip to content

Commit 0d76fca

Browse files
Andrei CaleniucAndrei Caleniuc
authored andcommitted
fix: ui-password-indicator styles
1 parent a4a92d7 commit 0d76fca

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

projects/angular/components/ui-password-indicator/src/_ui-password-indicator.theme.scss

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,11 @@
1313

1414
.mat-mdc-form-field.mat-form-field-invalid {
1515
ui-password-indicator {
16-
/* TODO(mdc-migration): The following rule targets internal classes of progress-bar that may no longer apply for the MDC version. */
17-
.mat-progress-bar-background {
18-
fill: $warn-color-light;
19-
}
20-
/* TODO(mdc-migration): The following rule targets internal classes of progress-bar that may no longer apply for the MDC version. */
21-
.mat-progress-bar-buffer {
16+
.mdc-linear-progress__buffer {
2217
background-color: $warn-color-light;
2318
}
24-
/* TODO(mdc-migration): The following rule targets internal classes of progress-bar that may no longer apply for the MDC version. */
25-
.mat-progress-bar-fill::after {
26-
background-color: $warn-color;
19+
.mdc-linear-progress__bar-inner {
20+
border-color: $warn-color;
2721
}
2822

2923
.mat-mdc-list {

projects/angular/components/ui-password-indicator/src/ui-password-indicator.component.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ ui-password-indicator {
3030
&.mat-2-line {
3131
height: $font-size;
3232
}
33-
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
34-
.mat-list-text {
33+
.mdc-list-item__primary-text {
3534
flex-direction: row;
3635
align-items: center;
3736

@@ -53,8 +52,7 @@ ui-password-indicator {
5352
&:not(:last-child) {
5453
margin-right: 5px;
5554
}
56-
/* TODO(mdc-migration): The following rule targets internal classes of list that may no longer apply for the MDC version. */
57-
.mat-list-item-content {
55+
.mdc-list-item__content {
5856
padding: 0;
5957
}
6058
}

0 commit comments

Comments
 (0)