gitea/web_src
zeripath 0c2cbfcb3b
Move sans-serif fallback font higher than emoji fonts (#15855) (#15892)
Backport #15855

The Tor browser does not use the system-ui font and no other fonts in the stack match
its default fonts. In fact it is possible that it will in future only
match generic fonts. This means that all rendering will first try the
emoji fonts before falling back to the sans-serif font for glyphs.

In this case has the emoji fall back fonts for Tor contains empty glyphs
for numbers - in order to protect privacy - and leads to numbers being
rendered as empty glyphs. This is clearly not ideal and whilst we could
use the Arimo font - as I state above I suspect that Tor will eventually
ban detecting this and we should instead move the sans-serif font higher
in the stack so that it matches before the emoji fonts.

Partial fix of #15844

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-16 16:42:12 +03:00
..
fomantic Improve basic button and label styles (#14119) 2020-12-27 18:53:53 +08:00
js not show `ref-in-new-issue` pop when issue was disabled (#15761) (#15765) 2021-05-07 16:13:20 +02:00
less Move sans-serif fallback font higher than emoji fonts (#15855) (#15892) 2021-05-16 16:42:12 +03:00
svg use gogs.ico to create a better svg for migration page (#14795) 2021-02-25 14:13:44 +08:00