Update style for matched letters and hover state.

This commit is contained in:
Bryan Mauger 2024-02-21 08:30:10 -05:00
parent fb58bab45c
commit c712e8d170

View file

@ -142,7 +142,7 @@ export default {
let w = $(this).autocomplete("widget").find("div"),
re = new RegExp("("+this.value+")", "i");
w.html((i, html) =>
html.replace(re, "<b>$1</b>")
html.replace(re, "<span>$1</span>")
);
},5);
},
@ -185,10 +185,13 @@ ul {
border: 1px solid transparent;
border-radius: 2px;
padding-left: .25rem;
span {
font-weight: 600;
}
&.ui-state-active {
border: 1px solid $gray-200;
border-radius: 2px;
font-weight: bold;
font-weight: 600;
}
}
}