Skip to content

Commit d4d0735

Browse files
committed
fix(inputs): address review comments
1 parent b5221a3 commit d4d0735

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/components/date-picker/themes/shared/date-picker.indigo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $input-theme: input-theme.$indigo;
3333
}
3434
}
3535

36-
:host(:not([invalid])[readonly]) {
36+
:host([readonly]) {
3737
igc-date-time-input::part(container) {
3838
border-color: var-get($theme, 'disabled-text-color');
3939
}

src/components/date-range-picker/themes/shared/date-range-picker.indigo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $theme: $indigo;
3030
padding: rem(8px) rem(16px);
3131
}
3232

33-
:host(:not([invalid])[readonly]) {
33+
:host([readonly]) {
3434
igc-input::part(container),
3535
igc-date-time-input::part(container) {
3636
border-color: var-get($theme, 'disabled-text-color');

src/components/input/themes/shared/input.material.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -459,16 +459,11 @@ input:placeholder-shown + [part='notch'] [part='label'],
459459

460460
input:not(:placeholder-shown) + [part='notch'] {
461461
border-width: $active-border-width;
462+
border-color: var-get($theme, 'focused-border-color');
462463
}
463464
}
464465
}
465466

466-
:host(:not([type='search'],[invalid])[readonly][outlined]:focus-within) {
467-
input:not(:placeholder-shown) + [part='notch'] {
468-
border-color: var-get($theme, 'focused-border-color');
469-
}
470-
}
471-
472467
:host(:not([type='search'])[outlined]:hover) {
473468
[part='notch'],
474469
[part='start'],

0 commit comments

Comments
 (0)