NOBUG: Fixed SVG browser compatibility
authorDan Poltawski <dan@moodle.com>
Wed, 14 Oct 2015 09:49:00 +0000 (10:49 +0100)
committerDan Poltawski <dan@moodle.com>
Wed, 14 Oct 2015 09:49:00 +0000 (10:49 +0100)
pix/t/backpack.svg
pix/t/download.svg

index cd399b2..e977d80 100644 (file)
@@ -6,7 +6,7 @@
 <svg version="1.1"\r
         xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"\r
         x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="overflow:visible;enable-background:new 0 0 12 12;"\r
-        xml:space="preserve">\r
+        xml:space="preserve" preserveAspectRatio="xMinYMid meet">\r
 <defs>\r
 </defs>\r
 <path style="fill:#999999;" d="M10.967,3.014c-0.376,0.716-0.843,1.336-1.418,1.811C9.201,5.111,8.335,5.7,7,5.914v0.545L6.453,7\r
index ae7d744..87f9fdf 100644 (file)
@@ -6,7 +6,7 @@
 <svg version="1.1"\r
         xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"\r
         x="0px" y="0px" width="12px" height="12px" viewBox="0 0 12 12" style="overflow:visible;enable-background:new 0 0 12 12;"\r
-        xml:space="preserve">\r
+        xml:space="preserve" preserveAspectRatio="xMinYMid meet">\r
 <defs>\r
 </defs>\r
 <path style="fill:#999999;" d="M5.8,12H0V2.6L2.6,0H10v4.1c0-0.8-0.4-1.5-1-1.8V1H4v3H1v7h3.8L5.8,12z M11.8,8l-3.5,3.7\r