Page MenuHomePhabricator

When a thumbnail overlaps the first section heading on a page, the heading's horizontal line is not truncated short of the thumbnail.
Closed, InvalidPublic

Description

Author: ArbusDriver

Description:
When a thumbnail overlaps the first section heading, the heading's horizontal
line runs up to the edge of the thumbnail. This looks ugly.

When a thumbnail overlaps any other heading, the heading's horizontal line is
truncated a few pixels short of the thumbnail. This looks neat.

An example of this can be seen at http://en.wikipedia.org/wiki/Ockbrook where the
horizontal line of the "History" section heading is overlapped by the locator map
thumbnail.


Version: unspecified
Severity: trivial
URL: http://en.wikipedia.org/wiki/Ockbrook

Details

Reference
bz6035

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:17 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz6035.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

I'm not clear on what the problem is. The line runs up to the thumbnail's
containing box, yes, as it's supposed to. What is it you want it to do? It
doesn't run up to the image or anything.

(Permanent link to revision in question:
http://en.wikipedia.org/w/index.php?title=Ockbrook&oldid=54334779.)

ArbusDriver wrote:

Well, if you look at the second and subsequent pictures, you will notice that the
lines stop about half a centimeter short of the box.

And when there are no pictures, the lines stop about half a centimeter short of
the edge of the window.

This half a centimeter short behaviour seems to be the more elegant and
consistent.

The inconsistency (bug?) is that the very first line on any(?) page runs all the
way up to the image box or window edge.

ayg wrote:

The reason it doesn't run all the way up to floated images is because those have
thick opaque borders set to the background color. Whether a user-created
template does or does not have such borders is beyond the control of the
developers; people are allowed to style templates however they want. I couldn't
figure out how to style the template correctly within five minutes or so, but it
shouldn't be hard (assuming you know CSS).