bold/underlerine matches

This commit is contained in:
Barış Soner Uşaklı
2022-10-02 11:36:01 -04:00
parent 415f65cd79
commit a4e0b589ae

View File

@@ -337,7 +337,7 @@ define('search', ['translator', 'storage', 'hooks', 'alerts'], function (transla
});
result.html(result.html().replace(regex, function (match, p1) {
return '<strong class="search-match">' + p1 + '</strong>';
return '<strong class="search-match fw-bold text-decoration-underline">' + p1 + '</strong>';
}));
nested.forEach(function (nestedEl, i) {