fix: make no-hits result seem non-interactive
This commit is contained in:
committed by
mrugesh
parent
00e0f574df
commit
992ee98cc1
@ -51,7 +51,9 @@ const CustomHits = connectHits(
|
||||
{allHits.map((hit, i) => (
|
||||
<li
|
||||
className={
|
||||
i === selectedIndex ? 'ais-Hits-item selected' : 'ais-Hits-item'
|
||||
!noHits && i === selectedIndex
|
||||
? 'ais-Hits-item selected'
|
||||
: 'ais-Hits-item'
|
||||
}
|
||||
data-fccobjectid={hit.objectID}
|
||||
key={hit.objectID}
|
||||
|
@ -79,6 +79,10 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.no-hits-footer.fcc_suggestion_item:hover {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.fcc_sr_only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
|
Reference in New Issue
Block a user