mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-29 16:34:43 +00:00
fae41df135
em values are calculated relative to the parent element's font-size, not the root or browser-default font-size. However, @font-size-minerva-small and @font-size-minerva-smallest are supposed to be relative to the assumed 16px browser default font-size. If they are used in an element that already has a smaller-than-100% font-size, the resulting font-sizes will compound and can be smaller than accessability minimums. This change uses rems instead, so -small and -smallest will be the same sizes everywhere on the page. If -small or -smallest were used anywhere where parent-relative font sizing is expected, this patch will change the size of that text. This is only a problem if the new size is smaller than the old size, as any sizes smaller than -smallest are an accessability issue. I looked for any potential problems, but didn't see any. Bug: T282315 Change-Id: Ib578f2cc4597b4dbfb5d1f5e4842962433af3748 |
||
---|---|---|
.. | ||
minerva.mixins.less | ||
minerva.variables.less |