fix(codemirror-autocomplete): show selection background on hover for options (#1134)
This fix if merged shows the selection background by hovering on autocomplete options. Ref: #946
This commit is contained in:
parent
1cafe307d5
commit
d476bb14bc
|
|
@ -47,6 +47,12 @@ export const HintStyles = createGlobalStyle<{ editorTheme: EditorTheme }>`
|
|||
}
|
||||
.CodeMirror-Tern-completion {
|
||||
padding-left: 22px !important;
|
||||
&:hover{
|
||||
background: ${props =>
|
||||
props.editorTheme === EditorTheme.DARK
|
||||
? "rgba(244,244,244,0.2)"
|
||||
: "rgba(128,136,141,0.2)"};
|
||||
}
|
||||
}
|
||||
.CodeMirror-Tern-completion:before {
|
||||
left: 4px !important;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user