VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Quality & Testing VirtueMart 1.1.x => Virtuemart 1.1 Development (Archiv) => Q&T Resolved => Topic started by: mauri on January 24, 2009, 15:36:32 PM

Title: [FIXED] IE7 - In Extended Layout, menu icons are shown twice
Post by: mauri on January 24, 2009, 15:36:32 PM
VirtueMart 1.1.3
Browser IE7

fix:
/components/com_virtuemart/js/extjs2/css/ext-all.css
Find:
.x-menu-item-icon{border:0 none;height:16px;padding:0 15px 0 0;vertical-align:top;width:16px;margin:0 8px 0 0;background-position:center;}



Edit:

.x-menu-item-icon{border:0 none;padding:0 15px 0 0;margin:0;vertical-align:top;height:16px;line-height:18px;width:16px;background:left no-repeat;}


Title: Re: IE7 - In Extended Layout, menu icons are shown twice
Post by: aravot on January 24, 2009, 21:20:24 PM
The double icon is back, this is what happens when we have too many layouts.

Thanks for reporting and the fix.
Title: Re: IE7 - In Extended Layout, menu icons are shown twice
Post by: mauri on January 24, 2009, 21:27:38 PM
Is this better fix? It forces the IE use padding-right 8px and margin_right 0px.
/components/com_virtuemart/js/extjs2/css/ext-all.css
Find:
.x-menu-item-icon{border:0 none;height:16px;padding:0;vertical-align:top;width:16px;margin:0 8px 0 0;background-position:center;}





Add row after. Like this:
.x-menu-item-icon{border:0 none;height:16px;padding:0;vertical-align:top;width:16px;margin:0 8px 0 0;background-position:center;}
.ext-ie .x-menu-item-icon{padding:0 8px 0 0;margin:0 0 0 0;}



Title: Re: IE7 - In Extended Layout, menu icons are shown twice
Post by: aravot on January 24, 2009, 21:44:56 PM
Same solution as before should work http://dev.virtuemart.net/cb/issue/2038

Fixed in SVN.