diff --git a/js/main.js b/js/main.js index f67d7183ce..f106b3daf4 100644 --- a/js/main.js +++ b/js/main.js @@ -1,6 +1,21 @@ function resizeIframe(obj) { obj.style.height = 0; - obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; + _resizeIframe(obj, 0); + } + + function _resizeIframe(obj, desth) { + var h = obj.style.height; + var ch = obj.contentWindow.document.body.scrollHeight + 'px'; + if (h==ch) { + return; + } + console.log("_resizeIframe", obj, desth, ch); + if (desth!=ch) { + setTimeout(_resizeIframe, 500, obj, ch); + } else { + obj.style.height = ch; + setTimeout(_resizeIframe, 1000, obj, ch); + } } function openClose(theID) { diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index c5f695679e..1b021687cd 100644 --- a/view/theme/quattro/dark/style.css +++ b/view/theme/quattro/dark/style.css @@ -2113,6 +2113,22 @@ ul.tabs li .active { width: 50px; float: left; } +/* manage page */ +.identity-match-photo { + position: relative; +} +.identity-match-photo .manage-notify { + background-color: #19AEFF; + border-radius: 5px; + font-size: 10px; + padding: 1px 3px; + min-width: 15px; + text-align: right; + position: absolute; + right: 10px; + top: -5px; + color: #ffffff; +} /* videos page */ .videos .video-top-wrapper { width: 200px; diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index aaca41312b..4c50fb35fa 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -2113,6 +2113,22 @@ ul.tabs li .active { width: 50px; float: left; } +/* manage page */ +.identity-match-photo { + position: relative; +} +.identity-match-photo .manage-notify { + background-color: #19AEFF; + border-radius: 5px; + font-size: 10px; + padding: 1px 3px; + min-width: 15px; + text-align: right; + position: absolute; + right: 10px; + top: -5px; + color: #ffffff; +} /* videos page */ .videos .video-top-wrapper { width: 200px; diff --git a/view/theme/quattro/lilac/style.css b/view/theme/quattro/lilac/style.css index 5801644952..7fb505dec5 100644 --- a/view/theme/quattro/lilac/style.css +++ b/view/theme/quattro/lilac/style.css @@ -2113,6 +2113,22 @@ ul.tabs li .active { width: 50px; float: left; } +/* manage page */ +.identity-match-photo { + position: relative; +} +.identity-match-photo .manage-notify { + background-color: #19AEFF; + border-radius: 5px; + font-size: 10px; + padding: 1px 3px; + min-width: 15px; + text-align: right; + position: absolute; + right: 10px; + top: -5px; + color: #ffffff; +} /* videos page */ .videos .video-top-wrapper { width: 200px; diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index abbf447cbb..d47263b500 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -1404,6 +1404,24 @@ ul.tabs { width: 50px; float: left; } +/* manage page */ +.identity-match-photo { + position: relative; + .manage-notify { + background-color: #19AEFF; + border-radius: 5px; + font-size: 10px; + padding: 1px 3px; + min-width: 15px; + text-align: right; + position: absolute; + right: 10px; + top: -5px; + color: rgb(255, 255, 255); + } +} + + /* videos page */ .videos { .video-top-wrapper {