Skip to content

Commit 47d35a0

Browse files
committed
fix: disabled color set when no-content-styling enabled
1 parent bb492b8 commit 47d35a0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/internal/components/selectable-item/styles.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,19 @@
116116
}
117117
}
118118
}
119-
120119
&.highlighted {
121120
z-index: 3;
122121
background-color: awsui.$color-background-dropdown-item-hover;
123122
border-color: awsui.$color-border-dropdown-item-hover;
124123
&.disabled {
125-
color: awsui.$color-text-dropdown-item-dimmed;
126124
border-color: awsui.$color-border-dropdown-item-dimmed-hover;
127125
background-color: awsui.$color-background-dropdown-item-dimmed;
126+
> .option-content {
127+
color: awsui.$color-text-dropdown-item-dimmed;
128+
&.no-content-styling {
129+
color: inherit;
130+
}
131+
}
128132
}
129133
&.is-keyboard {
130134
border-color: awsui.$color-border-dropdown-item-focused;

0 commit comments

Comments
 (0)