Explorar el Código

reinstated 1px height

Heydon Pickering hace 8 años
padre
commit
aecddd4662
Se han modificado 3 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      docs/js/dom-scripts.js
  2. 0 0
      docs/service-worker.js
  3. 1 1
      themes/infusion/static/js/dom-scripts.js

+ 1 - 1
docs/js/dom-scripts.js

@@ -97,7 +97,7 @@
       var padding = (viewBox[2] / viewBox[3]) * 100
 
       // Set inline styles
-      svg.setAttribute('style', 'width: 100%; padding-bottom: ' + padding + '%; overflow: visible')
+      svg.setAttribute('style', 'width: 100%; height: 1px; padding-bottom: ' + padding + '%; overflow: visible')
 
       // Create span wrapper
       var span = document.createElement('span')

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
docs/service-worker.js


+ 1 - 1
themes/infusion/static/js/dom-scripts.js

@@ -97,7 +97,7 @@
       var padding = (viewBox[2] / viewBox[3]) * 100
 
       // Set inline styles
-      svg.setAttribute('style', 'width: 100%; padding-bottom: ' + padding + '%; overflow: visible')
+      svg.setAttribute('style', 'width: 100%; height: 1px; padding-bottom: ' + padding + '%; overflow: visible')
 
       // Create span wrapper
       var span = document.createElement('span')

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio