nixos-search icon indicating copy to clipboard operation
nixos-search copied to clipboard

Weird "Q" character on search page

Open mayl opened this issue 3 years ago • 7 comments

I noticed today that there is a "Q" which comes before "search more than 80 000 packages". Has that always been there and I just haven't noticed it? It seems out of place...

image

mayl avatar Apr 23 '21 09:04 mayl

I think this suppose to look like magnifying glass. Probably the font is off there.

turboMaCk avatar Apr 23 '21 09:04 turboMaCk

Ah that could be it I guess. Usually a magnifying glass's handle doesn't extend into the round 'glass' part though...

mayl avatar Apr 23 '21 09:04 mayl

@mayl do you want to open PR fix fix yourself? If not could you help with debugging this? From my quick test this seems to work fine in Firefox but does not work in brave. Could you confirm which browser you're using? It seems to be fixable by adding font-family: FreeSerif; to before pseudo element in brave.

turboMaCk avatar Apr 23 '21 10:04 turboMaCk

hmm, thats interesting - I'm on Firefox as well. Can you share a screenshot of what you see?

I'm happy to try to open a PR, but I have no idea how elm works

mayl avatar Apr 23 '21 10:04 mayl

image

Maybe we don't load webfont and it also relies on font being installed on OS?

turboMaCk avatar Apr 23 '21 11:04 turboMaCk

You sound like you know way more about this than I do. I tried your font-family: FreeSerif; and it worked for me too: image

mayl avatar Apr 23 '21 12:04 mayl

cool thanks. I think I can tackle this.

turboMaCk avatar Apr 23 '21 12:04 turboMaCk