Page MenuHomePhabricator

border color of thumbnails on colored backgrounds
Closed, ResolvedPublic

Description

Author: srittau

Description:
Please see http://de.wikipedia.org/wiki/Benutzer:Srittau/Bugtest?useskin=vector for an illustration of the problem: A thumbnail on a non-white background is displayed with a white border with differing sizes on each side. This is due to the misuse of the border attribute.

The problem can be fixed (on FF) by changing the following rules in main-ltr.css:

  • Removing border-color and border-style from div.thumb
  • Removing border-width from div.tright, instead adding "margin-left: 1.4em"

I don't know if other things will break, though. Nevertheless the rules above look very hacky, change-until-it-works-like and should be reworked in any case.

(The same problem exists for the monobook skin, but this has been worked around on the German Wikipedia, at least.)


Version: unspecified
Severity: enhancement

Details

Reference
bz19866

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:39 PM
bzimport set Reference to bz19866.

See also my comment in bug 16272, which dealt with the same issue.

r53628 doesn't fix anything because this bug (essentially a dupe of bug 8814) is about borders, not backgrounds.

Note that the problem is no longer visible at dewiki because the workaround from [[de:MediaWiki:Monobook.css]] has been copied to [[de:MediaWiki:Vector.css]].