Skip to content

Commit ed28aa9

Browse files
author
hikki
committed
v3.2
1 parent 154b43b commit ed28aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/assets/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ window.ComponentCascadeLine = class {
15091509

15101510
dialog(title,h=50){
15111511
let marginTop = (this.DOM.clientHeight - (h+20)) / 2;
1512-
let html = `<div class="dot-cascade-panel"><div class="dlp plane-header plane-header-dialog" style="margin-top: ${marginTop}px"></div><div class="plane-body dlp-scroll plane-body-dialog" style="height:${h}px"></div></div>`;
1512+
let html = `<div class="dot-cascade-panel"><div class="dlp plane-header plane-header-dialog" style="margin-top: ${marginTop+'px'}"></div><div class="plane-body dlp-scroll plane-body-dialog" style="height:${h+'px'}"></div></div>`;
15131513
this.DOM.childNodes[0].insertAdjacentHTML('beforeend', html);
15141514
let panelDom = this.DOM.childNodes[0].lastChild;
15151515
let T = document.createElement('div');

0 commit comments

Comments
 (0)