|
|
@ -154,8 +154,8 @@ function renderNotificationSVG(content, cb){ |
|
|
|
var container = document.createElement('div') |
|
|
|
var container = document.createElement('div') |
|
|
|
var confirmView = h('div.app-primary', { |
|
|
|
var confirmView = h('div.app-primary', { |
|
|
|
style: { |
|
|
|
style: { |
|
|
|
width: '450px', |
|
|
|
width: '360px', |
|
|
|
height: '300px', |
|
|
|
height: '240px', |
|
|
|
padding: '16px', |
|
|
|
padding: '16px', |
|
|
|
// background: '#F7F7F7',
|
|
|
|
// background: '#F7F7F7',
|
|
|
|
background: 'white', |
|
|
|
background: 'white', |
|
|
@ -177,7 +177,7 @@ function renderNotificationSVG(content, cb){ |
|
|
|
|
|
|
|
|
|
|
|
function svgWrapper(content){ |
|
|
|
function svgWrapper(content){ |
|
|
|
var wrapperSource = `
|
|
|
|
var wrapperSource = `
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="450" height="300"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="360" height="240"> |
|
|
|
<foreignObject x="0" y="0" width="100%" height="100%"> |
|
|
|
<foreignObject x="0" y="0" width="100%" height="100%"> |
|
|
|
<body xmlns="http://www.w3.org/1999/xhtml" height="100%">{{content}}</body> |
|
|
|
<body xmlns="http://www.w3.org/1999/xhtml" height="100%">{{content}}</body> |
|
|
|
</foreignObject> |
|
|
|
</foreignObject> |
|
|
|