temporaly fix
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user