Horizontal scrollbars appearing in image category listings
Closed, ResolvedPublic

Description

Author: brianna.laugher

Description:
3 of the images in this category appear with tiny scrollbars underneath the size
line in their caption. Since they're entirely unuseful, I'm thinking they're not
supposed to be there.


Version: 1.11.x
Severity: trivial
OS: Linux
Platform: PC
URL: http://commons.wikimedia.org/wiki/Category:Commons_bots

Details

Reference
bz9854
bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz9854.
bzimport created this task.May 9 2007, 11:23 AM

brianna.laugher wrote:

screenshot

attaching screenshot

Attached:

I added those in r21909 in response to bug 3770. Have to check if it is possible
to not trigger unnecessary scrollbars.

brianna.laugher wrote:

OK. scrollbars in galleries are OK, in category listings it's kinda silly. So either
a) stop the scrollbars from occurring in category listings
b) stop truncating image names in category captions.

I think (b) is better. At the moment we have captions like
"Recent-changes-bot.c...".

brion added a comment.May 9 2007, 3:17 PM

I would recommend overflow: hidden instead of overflow: auto here. Scrollbars on
the little gallery previews kinda suck... bad enough for really long words in
caption, but here it's even just the clipped file name being slightly too long
depending on your font size. :P

ayg wrote:

(In reply to comment #2)

I added those in r21909 in response to bug 3770. Have to check if it is possible
to not trigger unnecessary scrollbars.

The scrollbars are "necessary" in the provided screenshot. A couple of pixels
of padding or whatever are obscured. (The scrollbar-generating logic definitely
doesn't have any idea that nobody cares about padding. Petition the W3C for a
max-padding property. :P)

brion added a comment.May 9 2007, 5:42 PM

This was fixed in r22035

Gilles moved this task from Untriaged to Done on the Multimedia board.

Add Comment