Page MenuHomePhabricator

Regression: TOC overlaps content area with bigger default font size
Closed, DuplicatePublic

Description

After what seems like a new update, the TOC overlaps the content area for users who have a larger font set as default in their browser settings (up to 3% according to some research). Here's Chrome with "Font size: Large" setting:

image.png (624×506 px, 75 KB)

This is a part of the problem that I outlined in T313225: [EPIC] Various parts of MediaWiki don't respect default browser font size.

This seems to be fixed with later updates, for example in the patch linked from T312156#8096362: https://patchdemo.wmflabs.org/wikis/e5c4a1ddda/wiki/Water?useskin=vector-2022.

Also, this is still present on beta cluster with "Font size: Very large" in Chrome:

image.png (577×481 px, 64 KB)

(https://en.wikipedia.beta.wmflabs.org/wiki/Dog)

Related:

(But didn't find quickly which change caused this.)