removed autoComplete highlight

pull/5370/head
davidzagi93@gmail.com 3 years ago
parent 76f83cdd0e
commit a1e2e0c36d
  1. 1
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.css
  2. 2
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx

@ -23,6 +23,7 @@ element.style {
border: 1px solid #3f4455!important;
}
/* seleted option should reflect the theme color */
.selectedOptions {
background-color: #222336;
}

@ -744,7 +744,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
<div>
{autoCompletState.data._options.map((item, index) => {
return (
<div key={index} data-id="autoCompletePopUpAutoCompleteItem" className={`autoCompleteItem listHandlerShow item ${autoCompletState.data._options[autoCompletState.activeSuggestion] === item ? 'border border-primary selectedOptions' : ''}`} onKeyDown={ handleSelect } >
<div key={index} data-id="autoCompletePopUpAutoCompleteItem" className={`autoCompleteItem listHandlerShow item ${autoCompletState.data._options[autoCompletState.activeSuggestion] === item ? 'border border-primary ' : ''}`} onKeyDown={ handleSelect } >
<div>
{getKeyOf(item)}
</div>

Loading…
Cancel
Save