diff --git a/src/forge/iframe.jsx b/src/forge/iframe.jsx index 469aa808c..194339f18 100644 --- a/src/forge/iframe.jsx +++ b/src/forge/iframe.jsx @@ -17,13 +17,27 @@ const Iframe = (props) => { if (!current_user?.login) { history.push("/login?go_page=/hiagent"); } + document.title = "GitLink-AI" }, []) + function iframeLoad() { + let myIframe = document.getElementById("iframe"); + const toastRight = myIframe?.contentWindow?.document?.getElementsByClassName("arco-notification-wrapper-topRight")[0] + const toastTop = myIframe?.contentWindow?.document?.getElementsByClassName("arco-notification-wrapper-top")[0] + if (toastRight) { + toastRight.style.top = '60px' + } + if (toastTop) { + toastTop.style.top = '80px' + } + } + return current_user?.login ? : '' }