OOJS UI doesn't define correct consistent (to body) font stack in windows (modal windows) and some of the widgets.
https://github.com/wikimedia/oojs-ui/search?utf8=%E2%9C%93&q=sans-serif
OOJS UI doesn't define correct consistent (to body) font stack in windows (modal windows) and some of the widgets.
https://github.com/wikimedia/oojs-ui/search?utf8=%E2%9C%93&q=sans-serif
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Removing extra font-family definitions, fonts will inherit from body | oojs/ui | master | +0 -3 |
Change 197097 had a related patch set uploaded (by Nirzar):
Defining font stack for modal windows and widgets
@Esanders The one that defines font names in order of preference and not only the typeface style.
e.g.
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
instead of
font-family: sans-serif;
MediaWiki should be font agnostic. Defining fonts other than "sans-serif" or "serif" in the base code is probably not correct.
@Esanders & @Jorm I should have been more clear about the description, what i meant was consistent font stack. OOJS UI (and VE) uses Helvetica on Chrome and Helvetica Neue on Safari causing rendering issues in buttons. Vertical alignment specifically. This patch gives precedence to "Helvetica Neue" resulting in consistent rendering on all browsers on same operating system.
Change 197097 merged by jenkins-bot:
Removing extra font-family definitions, fonts will inherit from body