Skip to content
Snippets Groups Projects
Unverified Commit ad643924 authored by Tom Robinson's avatar Tom Robinson Committed by GitHub
Browse files

Fix issue with expression text highlighting (#12125)

parent 022d0ca8
No related merge requests found
......@@ -24,6 +24,7 @@
visibility: visible;
}
.hover-parent:hover.hover--inherit > * {
.hover-parent:hover.hover--inherit > *,
.hover-parent:hover.hover--inherit .hover-child {
color: inherit !important;
}
......@@ -386,7 +386,7 @@ export default class ExpressionEditorTextfield extends React.Component {
}}
style={{ paddingTop: 5, paddingBottom: 5 }}
className={cx(
"px2 cursor-pointer text-white-hover bg-brand-hover",
"px2 cursor-pointer text-white-hover bg-brand-hover hover-parent hover--inherit",
{
"text-white bg-brand":
i === this.state.highlightedSuggestion,
......@@ -398,7 +398,7 @@ export default class ExpressionEditorTextfield extends React.Component {
<span>
{suggestion.name.slice(0, suggestion.range[0])}
<span
className={cx("text-brand text-bold", {
className={cx("text-brand text-bold hover-child", {
"text-white bg-brand":
i === this.state.highlightedSuggestion,
})}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment