reinstated 1px height
This commit is contained in:
parent
d43628190f
commit
aecddd4662
|
@ -97,7 +97,7 @@
|
||||||
var padding = (viewBox[2] / viewBox[3]) * 100
|
var padding = (viewBox[2] / viewBox[3]) * 100
|
||||||
|
|
||||||
// Set inline styles
|
// 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
|
// Create span wrapper
|
||||||
var span = document.createElement('span')
|
var span = document.createElement('span')
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -97,7 +97,7 @@
|
||||||
var padding = (viewBox[2] / viewBox[3]) * 100
|
var padding = (viewBox[2] / viewBox[3]) * 100
|
||||||
|
|
||||||
// Set inline styles
|
// 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
|
// Create span wrapper
|
||||||
var span = document.createElement('span')
|
var span = document.createElement('span')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user