next sprite icons shown in vocab picker

Bug #497591 reported by Martin Pool
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAZR Javascript Library
Invalid
High
Edwin Grubbs
Launchpad itself
In Progress
High
Edwin Grubbs

Bug Description

In the product vocabulary picker, the icons look weirdly damaged (see attached) which makes it look like there is one more product below the last one visible on the page. Maybe a problem with using a sprite for this icon?

Revision history for this message
Martin Pool (mbp) wrote :
Curtis Hovey (sinzui)
affects: launchpad → launchpad-registry
Changed in launchpad-registry:
importance: Undecided → High
status: New → Triaged
tags: added: css
Changed in launchpad-registry:
milestone: none → 10.01
Revision history for this message
Curtis Hovey (sinzui) wrote :

The CSS rules for spacing do not agree with the sprite. The image and the first line of text are not aligned. I think the <li> and img rules in picker/assets/skins/sam/picker-sam.css need fixing.

ul.yui-picker-results li {
.yui-picker-results li img {
.yui-picker-results li

affects: launchpad-registry → lazr-js
Changed in lazr-js:
milestone: 10.01 → none
summary: - weird/damaged icons in product vocab picker
+ weird/damaged icons in vocab picker
summary: - weird/damaged icons in vocab picker
+ next sprite icons shown in vocab picker
Revision history for this message
Curtis Hovey (sinzui) wrote :

Hi Beuno.

This bug relates to the sprite bugs you have been invesitgating. I think this is a little different because I think we are seeing a disagreement between launchpad css and lazr-js css. The fonts or spacing could be enforced in lazr-js, or we could review the CSS rules in launchpad and change them, adding a note why they it cannot be modified in the future.

I think I first saw this problem after Edwin landed a branch that adusted the spacing of <li>. I think there is too much space in the info portlets which I beleive share the spacing rules, so I suspect a small refinement had a very large impact.

Revision history for this message
Martin Albisetti (beuno) wrote :

Hi Sinzui,

I do think it can be tweaked and fixed easily. I do wonder however, if re-arranging sprites to be horizontal won't make all our problems go away...

Either way, I think that we may need to tweak Launchpad's CSS and add a comment blocking it from changing, so I agree!

Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote :

In the UI meeting, I was tasked with fixing this by making it possible for the json to specify a css class for the title text instead of just being able to specify a css class for the entire <li>.

Changed in lazr-js:
assignee: nobody → Edwin Grubbs (edwin-grubbs)
Māris Fogels (mars)
Changed in launchpad-foundations:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Edwin Grubbs (edwin-grubbs)
Revision history for this message
Māris Fogels (mars) wrote :

This is being fixed in Launchpad, as it is a site-specific problem with the sprite icons being used. It does not affect lazr-js.

See bug 405476 for the full conversation.

Changed in launchpad-foundations:
status: Triaged → In Progress
Changed in lazr-js:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.