Skip to content

Commit aef5b17

Browse files
committed
tidy-up selectors
1 parent ea67ec1 commit aef5b17

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

src/components/Select.module.css

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,16 @@
8282
padding-top: 0;
8383
}
8484

85-
.select :global(.rs__placeholder) {
86-
color: var(--text-color);
87-
filter: opacity(60%);
88-
}
85+
.select {
86+
& :global(.rs__placeholder) {
87+
color: var(--text-color);
88+
filter: opacity(60%);
89+
}
8990

90-
.select :global(.rs__single-value) {
91-
color: var(--text-color);
92-
}
93-
.select :global(.rs__input) {
94-
color: var(--text-color);
95-
}
96-
.select :global(.rs__input-container) {
97-
color: var(--text-color);
91+
& :global(.rs__single-value),
92+
& :global(.rs__input-container) {
93+
color: var(--text-color);
94+
}
9895
}
9996

10097
.itemSpacer {

0 commit comments

Comments
 (0)