diff --git a/frontend/index.html b/frontend/index.html index 88d8574..10d9189 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -26,13 +26,13 @@ left: 0; pointer-events: none; z-index: 99999999; - /* Stays on top of all elements */ + } - /* Chatbot styles */ + .chatbot-container { position: relative; - bottom: 20px; /* Adjust as needed */ + bottom: 20px; right: 20px; z-index: 100; } @@ -56,7 +56,7 @@ .chatbox { display: none; position: fixed; - bottom: 90px; /* Position above the bottom of the viewport */ + bottom: 90px; right: 20px; width: 300px; background-color: #f9f9f9; @@ -215,9 +215,9 @@
${responses[cleanedMessage]}
`; + chatOutput.innerHTML +=${responses[cleanedMessage]}
; } else if (cleanedMessage) { - chatOutput.innerHTML += `I'm sorry, I don't have an answer for that.
`; + chatOutput.innerHTML +=I'm sorry, I don't have an answer for that.
; } }); @@ -306,4 +306,4 @@