Skip to content

Commit 6e494e9

Browse files
committed
Fix Tor Browser falling back to a serif font for NoScript UI.
1 parent 3763dcc commit 6e494e9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ui/common.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2005-2023 Giorgio Maone <https://maone.net>
2+
* Copyright (C) 2005-2024 Giorgio Maone <https://maone.net>
33
*
44
* SPDX-License-Identifier: GPL-3.0-or-later
55
*/
@@ -12,6 +12,11 @@ body {
1212
font-family: system-ui, sans-serif;
1313
}
1414

15+
html.tor:not(.mobile) > body {
16+
/* Tor Browser may fallback to a serif system-ui font, which is ugly */
17+
font-family: sans-serif;
18+
}
19+
1520
html.mobile > body {
1621
font-family: Inter, sans-serif;
1722
font-size: 4mm;

0 commit comments

Comments
 (0)