Closed (won't fix)
Project:
Iconizer
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Aug 2011 at 20:54 UTC
Updated:
30 Aug 2011 at 01:55 UTC
Hi, I just enabled Iconizer on a site and while it works perfectly within the actual pages, on the Superfish-based drop-down menus, it displays all the way at the right edge of the link (see image).
I played around with the CSS a bit but can't figure out how to get it to hug the right side of the linked text like it does elsewhere on the page.
Assistance appreciated, and thanks for such a nifty module!
| Comment | File | Size | Author |
|---|---|---|---|
| iconizer.jpg | 28.3 KB | Brainwrap |
Comments
Comment #1
Brainwrap commentedActually, it looks like this is happening on *all* menu links, whether Superfish or regular.
Comment #2
thepanz commentedYou should check HOW each menu item is rendered, seems that each link is somehow wrapped into a fixed-width container... checkHTML and CSS with a CSS inspector tool
Comment #3
Brainwrap commentedHmmmm....well, it looks like it's connected to the CLASS = LEAF tag:
When I change it from "li class="leaf" to simply "li", the icons jump back to where they belong, at least on the main page.
Playing around with the margin-right / padding-right settings moves the icon in, but also shortens the length of the entire link, so that's no good...