]> dev.renevier.net Git - syp.git/blobdiff - inc/templates_index.php
fixes: popups with only a description were not displayed correctly in IE
[syp.git] / inc / templates_index.php
index a84a9c6ade648f0e1830310a4403d257d90d43f2..722daa9479bbdbe7a1ec1d087c4d2d558d162260 100644 (file)
@@ -25,8 +25,8 @@ if (defined ("THUMBSMAXSIZE") && (THUMBSMAXSIZE > 0)) {
     <link rel="stylesheet" href="./openlayers/theme/default/style.css" type="text/css">
     <link rel="stylesheet" href="./media/syp.css" type="text/css">
     <style type="text/css">
-        .olPopup {
-            <?php printf("width: %dpx;\n", $thumbsmaxsize)?>
+        .olPopup {
+            <?php printf("_width: %dpx;\n", ($thumbsmaxsize + 40))?>
         }
         .olPopup img {
             <?php printf("max-height: %dpx;\n", $thumbsmaxsize)?>