Page MenuHomePhabricator

Source code background spreads across the border
Closed, ResolvedPublic

Description

In this page the block of source code has a grey background, which spreads over the border, but it must not.
Chrome 48, OS Linux: screenshot

Event Timeline

Yanpas raised the priority of this task from to Medium.
Yanpas updated the task description. (Show Details)
Yanpas subscribed.

This is caused by the background on the mw-highlight element... There is already a background on it's sibling <pre> as well. Maybe we should just remove this higher level one.

Change 350602 had a related patch set uploaded (by TheDJ; owner: TheDJ):
[mediawiki/extensions/SyntaxHighlight_GeSHi@master] Avoid background when the content is narrow

https://gerrit.wikimedia.org/r/350602

Krinkle assigned this task to TheDJ.
Krinkle moved this task from Backlog to Accepted on the SyntaxHighlight board.

Change 350602 merged by jenkins-bot:
[mediawiki/extensions/SyntaxHighlight_GeSHi@master] Avoid background when the content is narrow

https://gerrit.wikimedia.org/r/350602

Change 571083 had a related patch set uploaded (by TheDJ; owner: TheDJ):
[mediawiki/extensions/SyntaxHighlight_GeSHi@master] Syntaxhighlight: avoid double background

https://gerrit.wikimedia.org/r/571083

Change 571083 merged by jenkins-bot:
[mediawiki/extensions/SyntaxHighlight_GeSHi@master] Syntaxhighlight: avoid double background

https://gerrit.wikimedia.org/r/571083