[Commits] r872 - sandbox/elemoine/playground/geoext/examples

commits at geoext.org commits at geoext.org
Wed May 27 22:07:33 CEST 2009


Author: elemoine
Date: 2009-05-27 22:07:33 +0200 (Wed, 27 May 2009)
New Revision: 872

Modified:
   sandbox/elemoine/playground/geoext/examples/toolbar.html
Log:
work around an Ext bug in IE, thanks cmoullet for finding the workaround


Modified: sandbox/elemoine/playground/geoext/examples/toolbar.html
===================================================================
--- sandbox/elemoine/playground/geoext/examples/toolbar.html	2009-05-27 20:00:40 UTC (rev 871)
+++ sandbox/elemoine/playground/geoext/examples/toolbar.html	2009-05-27 20:07:33 UTC (rev 872)
@@ -19,6 +19,22 @@
 
         <script type="text/javascript" src="toolbar.js"></script>
 
+        <style type="text/css">
+            /* work around an Ext bug that makes the rendering
+               of menu items not as one would expect */
+            .ext-ie .x-menu-item-icon {
+                left: -24px;
+            }
+            .ext-strict .x-menu-item-icon {
+                left: 3px;
+            }
+            .ext-ie6 .x-menu-item-icon {
+                left: -24px;
+            }
+            .ext-ie7 .x-menu-item-icon {
+                left: -24px;
+            }
+        </style>
     </head>
     <body>
         <h1>OpenLayers controls in an Ext toolbar</h1>



More information about the Commits mailing list