Skip to content

Commit 5101741

Browse files
authored
style(console): fix read-only state drop down icon color for select component (#7823)
1 parent cf9cbac commit 5101741

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

packages/console/src/ds-components/Select/index.module.scss

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@
7272
outline-color: var(--color-focused-variant);
7373
}
7474

75-
&.readOnly {
76-
background: var(--color-inverse-on-surface);
77-
color: var(--color-text);
78-
border-color: var(--color-border);
79-
cursor: default;
80-
}
81-
8275
&.error {
8376
border-color: var(--color-error);
8477

@@ -92,6 +85,17 @@
9285
color: var(--color-text-secondary);
9386
}
9487

88+
&.readOnly {
89+
background: var(--color-inverse-on-surface);
90+
color: var(--color-text);
91+
border-color: var(--color-border);
92+
cursor: default;
93+
94+
.icon {
95+
color: var(--color-disabled);
96+
}
97+
}
98+
9599
.clear {
96100
display: none;
97101
}

0 commit comments

Comments
 (0)