File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1509,7 +1509,7 @@ window.ComponentCascadeLine = class {
1509
1509
1510
1510
dialog ( title , h = 50 ) {
1511
1511
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>` ;
1513
1513
this . DOM . childNodes [ 0 ] . insertAdjacentHTML ( 'beforeend' , html ) ;
1514
1514
let panelDom = this . DOM . childNodes [ 0 ] . lastChild ;
1515
1515
let T = document . createElement ( 'div' ) ;
You can’t perform that action at this time.
0 commit comments