Page MenuHomePhabricator

SyntaxHighlight's background is a bit too expansive
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?: The <pre> with its border stops at the content floating right. The surrounding <div> does not.

image.png (98×1 px, 17 KB)

What should have happened instead?: The background should stop.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

This is due to the various background CSS currently targeting div.mw-highlight. There's presently two blocks of it that will need to be removed, one of which is created by updateCSS.php. (Maybe one after T365774.)