Skip to content

Commit f49b389

Browse files
committed
instantsearch.css: Fix highlight VS hover
When the whole text is highlight, the hover wasn't visible
1 parent 91f9890 commit f49b389

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/css/instantsearch.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,18 @@ footer.md-footer {
7474
color: var(--ibexa-dusk-black);
7575
}
7676

77-
.md-content .ais-InstantSearch .instantsearch__entry:hover {
78-
color: var(--ibexa-jazzberry);
79-
}
80-
77+
.md-content .ais-InstantSearch .instantsearch__entry:hover,
8178
.md-content .ais-InstantSearch .instantsearch__entry:hover .instantsearch__entry-header,
8279
.md-content .ais-InstantSearch .instantsearch__entry:hover .instantsearch__entry-content {
8380
color: var(--ibexa-jazzberry)
8481
}
8582

83+
.md-content .ais-InstantSearch .instantsearch__entry:hover mark,
84+
.md-content .ais-InstantSearch .instantsearch__entry:hover .instantsearch__entry-header mark,
85+
.md-content .ais-InstantSearch .instantsearch__entry:hover .instantsearch__entry-content mark {
86+
color: var(--ibexa-jazzberry)
87+
}
88+
8689
.md-content .ais-InstantSearch .instantsearch__entry + .instantsearch__entry {
8790
border-top: 1px solid #E0E0E8;
8891
margin-top: 16px;

0 commit comments

Comments
 (0)