|
@@ -540,6 +540,12 @@ function onWindowResize() {
|
|
|
let dePublishTips = document.getElementById('de-publish-tips');
|
|
|
if(dialog && !dePublishTips) {
|
|
|
addPublishTipsIframe({time: 0});
|
|
|
+ } else if(dialog && dePublishTips){
|
|
|
+ let dialogContent = dialog.querySelector('div[role=dialog]')
|
|
|
+ if(dialogContent) {
|
|
|
+ let right = dialogContent.offsetLeft - 15 - 266;
|
|
|
+ dePublishTips.style.right = right + 'px';
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|