reinstated 1px height

This commit is contained in:
Heydon Pickering 2017-08-10 17:19:26 +01:00
parent d43628190f
commit aecddd4662
3 changed files with 3 additions and 3 deletions

View File

@ -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')

File diff suppressed because one or more lines are too long

View File

@ -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')