diff --git a/app/Views/chatbot.php b/app/Views/chatbot.php index 2e70216b..2adf10dd 100644 --- a/app/Views/chatbot.php +++ b/app/Views/chatbot.php @@ -203,12 +203,19 @@ function setupMessageObserver() { return; } + const whiteSVG = `data:image/svg+xml;utf8, + + `; + const svg = ``; + const uri = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`; // ✅ Change iframe body background here - doc.body.style.background = "url('https://venbait.in/nhance/app/dev/assets/chat-bg.jpg') no-repeat center center fixed"; - // doc.body.style.background = "covercover"; - doc.body.style.backgroundSize = "cover"; - doc.body.style.margin = "0"; // optional + doc.body.style.background = `url("${uri}") repeat center center fixed`; + // doc.body.style.background = "url('https://venbait.in/nhance/app/dev/assets/chat-bg.jpg')"; + // doc.body.style.background = "cover"; + doc.body.style.backgroundSize = "auto"; + doc.documentElement.style.backgroundColor = '#ffffff'; + // doc.body.style.margin = "0"; // optional // Wait for the document to be ready