mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 07:23:03 +00:00
Improved search highlighting
This commit is contained in:
parent
f5cdad5ec3
commit
c45e2f8709
1 changed files with 3 additions and 2 deletions
|
@ -2964,8 +2964,9 @@ public class HtmlHelper {
|
|||
Element span = document.createElement("span");
|
||||
span.attr("style", mergeStyles(
|
||||
span.attr("style"),
|
||||
"font-size:larger; background-color:" + encodeWebColor(color)
|
||||
));
|
||||
"font-size:larger !important;" +
|
||||
"font-weight:bold !important;" +
|
||||
"background-color:" + encodeWebColor(color) + " !important"));
|
||||
span.text(tnode.getWholeText().length() == text.length()
|
||||
? tnode.getWholeText().substring(start, end)
|
||||
: text.substring(start, end));
|
||||
|
|
Loading…
Reference in a new issue