temporaly fix

This commit is contained in:
2026-03-27 22:28:07 +01:00
parent b21ade22f3
commit e3d20612f4
10 changed files with 30 additions and 5 deletions

View File

@@ -46,8 +46,8 @@ Chatbot.init({
sendButtonColor: "#d4864a"
},
footer: {
textColor: "#ffffff",
text: " ",
textColor: "#999999",
text: "Dies ist ein KI-System. Bitte geben Sie keine sensiblen personenbezogenen Daten ein.",
company: " ",
companyLink: ""
}
@@ -77,7 +77,14 @@ function injectHeaderStyle() {
header.style.border = '3px solid #d4864a';
header.style.boxSizing = 'border-box';
// No border-radius here — the parent chatwindow's overflow:hidden clips corners naturally
// Round the bottom corners of the chat window container (parent of the header)
const chatWindow = header.parentElement;
if (chatWindow) {
chatWindow.style.borderBottomLeftRadius = '12px';
chatWindow.style.borderBottomRightRadius = '12px';
chatWindow.style.overflow = 'hidden';
}
const marker = document.createElement('span');
marker.id = 'profice-header-applied';