Downloads: Increase invisible font name size

[why]
Some browsers (i.e. Safari) show the invisible text's highlighted when
searched for. The current size does not match the preview image's size
so the highlight box seems too small.

Interesting, Firefox and Chromium do not show the invisibe text box as
hit, which I personally always find very disruptive (when I search
something on a page and the brower finds it but nothing is
highlighted... where the heck did it find it?), but obviously Safari
does this right :-D

[how]
Just increase the (invisible) text size some bit to roughly fit.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
Fini Jastrow 2024-06-19 10:05:39 +02:00
parent cff4a7b856
commit a6d13d97c4

View file

@ -11,6 +11,7 @@ p {
.nerd-font-invisible-text {
opacity: 0.0;
font-size: 36px;
}
input.nerd-font-input {