mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 14:13:21 +00:00
searchbox active style
This commit is contained in:
parent
5ecbbdba7d
commit
68556c3008
@ -269,7 +269,7 @@ class SearchBox extends Component<Props, State> {
|
||||
tabIndex={2}
|
||||
className={
|
||||
'p-2 cursor-pointer flex gap-2 items-center result ' +
|
||||
(-1 === this.state.selected ? 'selected' : '')
|
||||
(-1 === this.state.selected ? 'bg-neutral-700' : '')
|
||||
}
|
||||
href={`/search/${encodeURIComponent(this.state.query)}`}
|
||||
>
|
||||
@ -304,7 +304,7 @@ class SearchBox extends Component<Props, State> {
|
||||
tabIndex={2}
|
||||
className={
|
||||
'p-2 cursor-pointer flex gap-2 items-center result ' +
|
||||
(index === this.state.selected ? 'selected' : '')
|
||||
(index === this.state.selected ? 'bg-neutral-700' : '')
|
||||
}
|
||||
href={`/${npub}`}
|
||||
onClick={(e) => this.onClick(e, i)}
|
||||
|
Loading…
Reference in New Issue
Block a user