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

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz9854.
bzimport created this task.Via LegacyMay 9 2007, 11:23 AM
bzimport added a comment.Via ConduitMay 9 2007, 11:24 AM

brianna.laugher wrote:

screenshot

attaching screenshot

Attached:

Nikerabbit added a comment.Via ConduitMay 9 2007, 11:32 AM

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

bzimport added a comment.Via ConduitMay 9 2007, 11:38 AM

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.Via ConduitMay 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

bzimport added a comment.Via ConduitMay 9 2007, 4:44 PM

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.Via ConduitMay 9 2007, 5:42 PM

This was fixed in r22035

Gilles added a project: Multimedia.Via WebDec 4 2014, 10:58 AM
Gilles moved this task to Closed on the Multimedia workboard.

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.