Closed
Bug 1550035
Opened 7 years ago
Closed 7 years ago
Contrast badge font is too big on Linux
Categories
(DevTools :: Accessibility Tools, defect)
DevTools
Accessibility Tools
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1550040
People
(Reporter: fvsch, Unassigned)
Details
Attachments
(1 file)
|
167.36 KB,
image/png
|
Details |
The culprit:
/* accessibility.css */
.badge {
font: message-box;
}
This resets the font-size to different sizes depending on the platform. Tends to be 11px all the time on macOS, 11px most of the times on Windows (but I've heard about some variations), and on Linux/GTK it uses the default text size for GTK which is 11pt aka 14.6667px. Screenshot show 12pt (16px) since this is what my current setting in Gnome.
The fix:
- Ideally we would want to use
font-family: system-uihere instead offont: message-box, but it's not supported (yet). - So what we tend to do is override the font-size:
.badge {
font: message-box;
font-size: var(--theme-body-font-size);
}
| Reporter | ||
Comment 1•7 years ago
|
||
Fix included in the patch for bug 1550040.
I'll wait to see if that patch is going through before closing this one as a duplicate.
| Reporter | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•